Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.486e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001815/0.00183, allocations: 1.508 MB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002873, allocations: 0.7755 MB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.002926, allocations: 0 / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.002955, allocations: 3.938 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.003003, allocations: 11.86 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.00352, allocations: 147.4 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.683e-05/0.003617, allocations: 75.78 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.003701, allocations: 12.17 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.003818, allocations: 59.77 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.003862, allocations: 31.94 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.00388, allocations: 11.94 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.00406, allocations: 139.7 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.004076, allocations: 11.98 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.004111, allocations: 27.91 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.004312, allocations: 167.6 kB / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004314, allocations: 0 / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004314, allocations: 0 / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004318, allocations: 4 kB / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004716/0.00479, allocations: 351.5 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.004828, allocations: 12.03 kB / 0.9537 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.004858, allocations: 34.75 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.005032, allocations: 36.84 kB / 0.9538 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.005213, allocations: 121.7 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.005236, allocations: 4.312 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.005248, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.005384, allocations: 74.22 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005394, allocations: 192 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.005406, allocations: 3.938 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00541, allocations: 0 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.005488, allocations: 43.95 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.005869, allocations: 271.8 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.005952, allocations: 58.38 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.005998, allocations: 28.97 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.006017, allocations: 7.984 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/0.006116, allocations: 67.39 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.006117, allocations: 0 / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002619/0.006379, allocations: 153.6 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006409, allocations: 51.41 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.006479, allocations: 126.1 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.00649, allocations: 29.7 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.006526, allocations: 88.14 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.006541, allocations: 15.91 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.006575, allocations: 33.64 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.006647, allocations: 326.8 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.006689, allocations: 19.98 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.006743, allocations: 50.55 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.006833, allocations: 74.5 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006835, allocations: 0 / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001336/0.006968, allocations: 121.8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006978, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006983, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006995, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.007047, allocations: 11.98 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.007052, allocations: 0 / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.007087, allocations: 19.95 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.007098, allocations: 7.984 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.202e-05/0.00716, allocations: 121.7 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.00717, allocations: 7.953 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.007327, allocations: 12.44 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007329, allocations: 3.938 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007332, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007335, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.007601, allocations: 349.5 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007602, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.00762, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007622, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.007631, allocations: 7.984 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007633, allocations: 4 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007634, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.007783, allocations: 211.4 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.00779, allocations: 7.953 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.007803, allocations: 4 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.007844, allocations: 11.98 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.007873, allocations: 3.984 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.007881, allocations: 7.938 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.007918, allocations: 101.5 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007918, allocations: 4 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002012/0.008119, allocations: 35.94 kB / 0.9564 GB, free: 13.11 MB / 0.9167 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004806/0.0086, allocations: 0.8171 MB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.008737, allocations: 67.89 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.008738, allocations: 0 / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.008788, allocations: 32.45 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.008961, allocations: 15.94 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.00995, allocations: 1.497 MB / 0.9588 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.863e-05/0.009999, allocations: 75.33 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.01002, allocations: 0 / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.01006, allocations: 24.48 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.01006, allocations: 0 / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.02483, allocations: 3.398 MB / 0.9622 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.063, allocations: 11.2 kB / 0.9622 GB, free: 7.191 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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: 11.141104145906866]