Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001024/0.001024, 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.001041/0.001041, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9098/0.9098, 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.73/1.73, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.291e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002032/0.002055, allocations: 1.517 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.002973, allocations: 0.7717 MB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.003014, allocations: 0 / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.003034, allocations: 3.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.242e-05/0.003066, allocations: 19.81 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.003465, allocations: 139.5 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.776e-05/0.003552, allocations: 83.7 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.003611, allocations: 12.16 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.003705, allocations: 51.84 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.003748, allocations: 35.88 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.003761, allocations: 4 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.003941, allocations: 143.7 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.003956, allocations: 11.92 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.003985, allocations: 31.91 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.004167, allocations: 167.6 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004168, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004169, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004173, allocations: 4 kB / 0.9534 GB, free: 0.5156 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.0003594/0.004532, allocations: 351.4 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.004561, allocations: 12.02 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.004584, allocations: 34.75 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.004744, allocations: 32.88 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.004945, allocations: 125.7 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.004966, allocations: 4.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.00498, allocations: 8.312 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005107, allocations: 70.2 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005114, allocations: 192 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005126, allocations: 3.938 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00513, allocations: 4 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.005203, allocations: 39.97 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.005576, allocations: 271.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.005652, allocations: 50.44 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.005699, allocations: 32.97 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.005712, allocations: 0 / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/0.005812, allocations: 75.38 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.005812, allocations: 0 / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002375/0.00605, allocations: 149.6 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.006084, allocations: 55.39 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.006164, allocations: 124.7 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006176, allocations: 29.7 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.006219, allocations: 92.12 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.006232, allocations: 11.91 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.006269, allocations: 29.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.006351, allocations: 326.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.006398, allocations: 31.92 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.006449, allocations: 42.56 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.006695, allocations: 78.8 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.006696, allocations: 0 / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001403/0.006837, allocations: 117.5 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006846, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.00685, allocations: 8.062 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.00686, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.00691, allocations: 11.98 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.006916, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.006947, allocations: 19.83 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.006956, 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 6.888e-05/0.007025, allocations: 129.7 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.007034, allocations: 3.953 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.007056, allocations: 12.44 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007058, allocations: 4 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007062, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007065, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.007345, allocations: 345.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.007347, allocations: 3.984 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.007371, allocations: 8 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007372, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.007381, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007382, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007383, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.007545, allocations: 223.4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007554, allocations: 7.953 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007566, allocations: 4 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.007609, allocations: 11.92 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.007641, allocations: 4 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.007648, allocations: 7.922 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.007691, allocations: 99.27 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007691, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002066/0.007898, allocations: 39.88 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.0005281/0.008426, allocations: 0.8164 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.00857, allocations: 64.22 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008571, allocations: 0 / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.008628, allocations: 36.25 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.0001805/0.008808, allocations: 24.3 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.001053/0.009861, allocations: 1.492 MB / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.009906, allocations: 75.33 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.009934, allocations: 8 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.009973, allocations: 24.48 kB / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.009973, allocations: 0 / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02559, allocations: 3.384 MB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.005, allocations: 11.72 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.297138342633843]