Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0008072/0.0008072, 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.0008689/0.0008689, 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.9044/0.9044, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.747/1.747, 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.215e-05, allocations: 9.312 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002883/0.002916, allocations: 1.517 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003996, allocations: 0.7678 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.004067, allocations: 0 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.004104, allocations: 7.875 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.004164, allocations: 11.88 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.004913, allocations: 147.4 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.005051, allocations: 75.72 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.005165, allocations: 12.16 kB / 0.953 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.005334, allocations: 51.91 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.005399, allocations: 31.88 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005421, allocations: 12 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.005687, allocations: 143.7 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.005711, allocations: 11.92 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.005759, allocations: 27.91 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.006033, allocations: 167.6 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.006037, allocations: 0 / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/0.006039, allocations: 0 / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.006045, allocations: 0 / 0.9534 GB, free: 0.5273 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.0005722/0.006617, allocations: 355.4 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.006659, allocations: 16.03 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.006692, allocations: 34.75 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.006892, allocations: 36.8 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007125, allocations: 121.7 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.007147, allocations: 384 / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.00716, allocations: 4.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.007312, allocations: 74.2 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.00732, allocations: 192 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.007332, allocations: 3.938 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007336, allocations: 4 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.007414, allocations: 39.97 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.007842, allocations: 275.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.007938, allocations: 46.5 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.007988, allocations: 28.97 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.008012, allocations: 7.984 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.008142, allocations: 75.38 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/0.008144, allocations: 3.938 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003236/0.008468, allocations: 149.6 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.008515, allocations: 51.41 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.008605, allocations: 122.1 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.008624, allocations: 33.69 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.008672, allocations: 88.14 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.008692, allocations: 11.91 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.00874, allocations: 33.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.00883, allocations: 326.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.008888, allocations: 19.98 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.008953, allocations: 54.5 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.009067, allocations: 74.8 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.00907, allocations: 0 / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000173/0.009243, allocations: 125.5 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.00926, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.009266, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.009283, allocations: 4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.009357, allocations: 15.92 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.009364, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.009402, allocations: 19.83 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.009413, allocations: 4 kB / 0.9555 GB, free: 14.09 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 7.634e-05/0.00949, allocations: 125.8 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.009501, allocations: 7.953 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.009526, allocations: 12.44 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009529, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009533, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009537, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.009853, allocations: 345.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.009855, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.009876, allocations: 8 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009879, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009886, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.009888, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.00989, allocations: 3.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.01006, allocations: 215.3 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.01007, allocations: 7.953 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01008, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.01013, allocations: 7.984 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.01016, allocations: 0 / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01017, allocations: 11.92 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.01022, allocations: 108.3 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002427/0.01046, allocations: 35.94 kB / 0.9564 GB, free: 13.12 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.0006407/0.0111, allocations: 0.816 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.01128, allocations: 68.27 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01129, allocations: 4 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.01135, allocations: 36.06 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01155, allocations: 20.08 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.01278, allocations: 1.482 MB / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.01283, allocations: 83.27 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.01287, allocations: 4 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.01291, allocations: 20.48 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 8.52e-07/0.01291, allocations: 0 / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.0348, allocations: 3.396 MB / 0.9622 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/6.931, allocations: 5.094 kB / 0.9622 GB, free: 7.215 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.177193094044924]