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.0008017/0.0008017, 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.000901/0.000901, 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.8903/0.8903, 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.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.08 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 1.964e-06/1.964e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.245e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00263/0.002652, allocations: 1.51 MB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003933, allocations: 0.7639 MB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.003997, allocations: 7.938 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.004029, allocations: 3.938 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.004085, allocations: 11.86 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.004724, allocations: 139.5 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004856, allocations: 83.7 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.00495, allocations: 8.172 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.005109, allocations: 63.77 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.005169, allocations: 31.94 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.005191, allocations: 4 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.005446, allocations: 135.8 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.005472, allocations: 19.91 kB / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.005514, allocations: 23.92 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.005781, allocations: 179.4 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005784, allocations: 0 / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005786, allocations: 0 / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.005791, allocations: 0 / 0.9534 GB, free: 500 kB / 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.0006653/0.006456, allocations: 357.4 kB / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.006499, allocations: 8.031 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.006538, allocations: 38.75 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.006795, allocations: 28.86 kB / 0.9538 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.00703, allocations: 124.9 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.007056, allocations: 8.359 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.007071, allocations: 4.375 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.007243, allocations: 70.16 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.007254, allocations: 8.188 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.007267, allocations: 3.938 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007273, allocations: 3.984 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.007369, allocations: 31.98 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.007873, allocations: 279.8 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.00799, allocations: 46.5 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.509e-05/0.008055, allocations: 36.91 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.008079, allocations: 3.984 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.008231, allocations: 71.39 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.008233, allocations: 0 / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003699/0.008603, allocations: 141.6 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.008645, allocations: 55.41 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.008743, allocations: 130 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.008758, allocations: 25.7 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.00881, allocations: 100.1 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.008828, allocations: 11.97 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.008881, allocations: 33.7 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.008982, allocations: 322.8 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.009048, allocations: 27.98 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.00913, allocations: 46.55 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.009263, allocations: 74.81 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.009266, allocations: 4 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002014/0.009468, allocations: 113.5 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.009487, allocations: 8 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.009495, allocations: 0 / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.009511, allocations: 0 / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.00959, allocations: 11.98 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.009597, allocations: 4 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.009651, allocations: 15.89 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.009669, allocations: 11.98 kB / 0.9555 GB, free: 14.05 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 0.0001186/0.009788, allocations: 125.7 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.009805, allocations: 7.953 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.009844, allocations: 8.438 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.009848, allocations: 0 / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.009854, allocations: 0 / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.009864, allocations: 4 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.01035, allocations: 345.6 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01035, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.01039, allocations: 12 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01039, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.01041, allocations: 3.984 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01041, allocations: 7.875 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01041, allocations: 0 / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.01066, allocations: 211.4 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.01067, allocations: 3.953 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01069, allocations: 8 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.01076, allocations: 3.984 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.0108, allocations: 11.98 kB / 0.9563 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01081, allocations: 3.938 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.01087, allocations: 100.3 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01087, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003533/0.01123, allocations: 35.94 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.0009199/0.01215, allocations: 0.8303 MB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01235, allocations: 68.2 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01235, allocations: 0 / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.01242, allocations: 32.14 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01271, allocations: 12.3 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.001545/0.01425, allocations: 1.501 MB / 0.9588 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.01433, allocations: 71.89 kB / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.01437, allocations: 4 kB / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.01443, allocations: 24.48 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01443, allocations: 0 / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.03031, allocations: 3.388 MB / 0.9622 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/6.99, allocations: 10.56 kB / 0.9622 GB, free: 7.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.033956183120608]