Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 107.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002915/0.002915, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7777, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003913/0.7816, allocations: 1.639 MB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.7835, allocations: 0.7999 MB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.7836, allocations: 8 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.7836, allocations: 11.86 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.7837, allocations: 19.73 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.7845, allocations: 151.6 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.7848, allocations: 151.5 kB / 1.271 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.7849, allocations: 21.09 kB / 1.271 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.7851, allocations: 63.83 kB / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.7852, allocations: 79.72 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.7853, allocations: 12 kB / 1.272 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.7856, allocations: 111.8 kB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.7857, allocations: 39.88 kB / 1.272 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.7857, allocations: 59.72 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.7861, allocations: 205.3 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7861, allocations: 7.922 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7861, allocations: 0 / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.7861, allocations: 0 / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001023/0.7872, allocations: 0.5482 MB / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7872, allocations: 8.031 kB / 1.273 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.7873, allocations: 34.75 kB / 1.273 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.7873, allocations: 16.84 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.7875, allocations: 181.5 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.7876, allocations: 4.375 kB / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.7876, allocations: 4.375 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.7881, allocations: 153.6 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7881, allocations: 3.938 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.7882, allocations: 0 / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.7882, allocations: 4 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.7886, allocations: 103.9 kB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.7897, allocations: 380.5 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.79, allocations: 102.4 kB / 1.274 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.7904, allocations: 80.78 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.7904, allocations: 0 / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.7909, allocations: 143.2 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7909, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001126/0.792, allocations: 313.3 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7921, allocations: 55.41 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.7923, allocations: 149.1 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.7923, allocations: 29.69 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.7924, allocations: 104.3 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.7924, allocations: 24 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.7925, allocations: 29.7 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.7927, allocations: 326.8 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.7928, allocations: 43.91 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.793, allocations: 77.12 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.7933, allocations: 129 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7933, allocations: 0 / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003834/0.7937, allocations: 153.5 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7937, allocations: 4 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7937, allocations: 4.125 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7937, allocations: 4 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.7939, allocations: 23.91 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.7939, allocations: 4 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.794, allocations: 19.89 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.7941, allocations: 15.92 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.7942, allocations: 114.4 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.7942, allocations: 11.95 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.7943, allocations: 16.72 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7943, allocations: 4 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7943, allocations: 0 / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7943, allocations: 3.984 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.7954, allocations: 0.5297 MB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7954, allocations: 0 / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.7954, allocations: 11.98 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7955, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.7955, allocations: 12.09 kB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.7955, allocations: 7.875 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7955, allocations: 3.984 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.7963, allocations: 323.3 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.7964, allocations: 96.95 kB / 1.276 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.7965, allocations: 8.094 kB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.7967, allocations: 23.91 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.7968, allocations: 11.97 kB / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.7968, allocations: 3.984 kB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001035/0.7969, allocations: 113.9 kB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7969, allocations: 0 / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004397/0.7973, allocations: 47.92 kB / 1.276 GB, free: 12.81 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.7988, allocations: 0.9181 MB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.7994, allocations: 143.8 kB / 1.277 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7994, allocations: 0 / 1.277 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.7997, allocations: 79.92 kB / 1.278 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.8, allocations: 16.17 kB / 1.278 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.8028, allocations: 1.783 MB / 1.279 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.8033, allocations: 0.7117 MB / 1.28 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.8034, allocations: 4 kB / 1.28 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.8035, allocations: 35.36 kB / 1.28 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.8035, allocations: 0 / 1.28 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.8334, allocations: 3.52 MB / 1.283 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.22, allocations: 11.92 kB / 1.284 GB, free: 5.609 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.274571193382144]