Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001283/0.001283, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001128/0.001128, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9179/0.9179, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.761/1.761, 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.155e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002116/0.002137, allocations: 1.514 MB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003268, allocations: 0.7717 MB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.003335, allocations: 0 / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.003366, allocations: 3.938 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.003418, allocations: 7.875 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.003987, allocations: 151.3 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.004096, allocations: 79.7 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.004184, allocations: 16.16 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.004314, allocations: 47.91 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.004368, allocations: 35.88 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.004387, allocations: 8 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.004592, allocations: 135.7 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.004613, allocations: 19.92 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.004648, allocations: 19.97 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.004865, allocations: 171.5 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004867, allocations: 4 kB / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004868, allocations: 3.938 kB / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004872, allocations: 0 / 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.0005025/0.005374, allocations: 351.5 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.005417, allocations: 16.02 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.005447, allocations: 30.75 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.005649, allocations: 28.88 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.005879, allocations: 135 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.005904, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.005918, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.006067, allocations: 74.19 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006075, allocations: 192 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.006089, allocations: 7.938 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.006094, allocations: 0 / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.006171, allocations: 35.97 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.006603, allocations: 279.8 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.006694, allocations: 50.44 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.006741, allocations: 24.97 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.00676, allocations: 8 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.006875, allocations: 75.38 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006876, allocations: 0 / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.007147, allocations: 149.6 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.007182, allocations: 59.39 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.007255, allocations: 119.3 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.007269, allocations: 29.7 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.007531, allocations: 92.12 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.007548, allocations: 15.91 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.007589, allocations: 29.7 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.007664, allocations: 318.8 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.007718, allocations: 27.98 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.007775, allocations: 54.44 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.007877, allocations: 78.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007879, allocations: 0 / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001456/0.008025, allocations: 121.5 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.008038, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.008043, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.008057, allocations: 4 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.008123, allocations: 16.05 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.008128, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.008162, allocations: 11.89 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.008174, allocations: 8 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 7.446e-05/0.008248, allocations: 125.7 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.008259, allocations: 7.953 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.008284, allocations: 12.38 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.008288, allocations: 4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.008293, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.008296, allocations: 4 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.008623, allocations: 341.5 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.008626, allocations: 3.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.008647, allocations: 4 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008649, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.008658, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00866, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.008662, allocations: 4 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.00884, allocations: 219.4 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.008849, allocations: 11.95 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.008863, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.008907, allocations: 7.984 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.008942, allocations: 4 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.008953, allocations: 11.92 kB / 0.9563 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.008992, allocations: 100.6 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.008992, allocations: 3.938 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000227/0.009219, allocations: 39.88 kB / 0.9564 GB, free: 13.1 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.0005977/0.009816, allocations: 0.813 MB / 0.9572 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.009981, allocations: 68.22 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009983, allocations: 0 / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.01004, allocations: 40.11 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01025, allocations: 12.22 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.01141, allocations: 1.494 MB / 0.9588 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.01146, allocations: 71.33 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.01149, allocations: 8 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.01154, allocations: 24.48 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01154, allocations: 0 / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.0336, allocations: 3.399 MB / 0.9622 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.2, allocations: 4 kB / 0.9622 GB, free: 7.191 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.550033218227327]