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.002105/0.002105, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00326/0.00326, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.645/1.645, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.77/2.77, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9509 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.647e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003111/0.003138, allocations: 1.51 MB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.004721, allocations: 0.7639 MB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.004774, allocations: 7.938 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.004802, allocations: 3.938 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.004863, allocations: 15.86 kB / 0.9532 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.005525, allocations: 147.3 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.005678, allocations: 79.77 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.005776, allocations: 8.172 kB / 0.9534 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.00595, allocations: 51.89 kB / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.006034, allocations: 31.94 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.00606, allocations: 8 kB / 0.9535 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.006378, allocations: 135.7 kB / 0.9536 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.006422, allocations: 19.92 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.006486, allocations: 31.91 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.00688, allocations: 171.4 kB / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.006887, allocations: 0 / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.006889, allocations: 0 / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.006897, allocations: 0 / 0.9539 GB, free: 8.555 MB / 0.8575 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.000924/0.007821, allocations: 351.5 kB / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.007873, allocations: 11.97 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/0.008264, allocations: 28.88 kB / 0.9542 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.008557, allocations: 141 kB / 0.9544 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.008584, allocations: 4.375 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.008603, allocations: 8.375 kB / 0.9544 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.008802, allocations: 62.22 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.008811, allocations: 192 / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.008825, allocations: 4.125 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.008831, allocations: 4 kB / 0.9544 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.00897, allocations: 35.97 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.009568, allocations: 256.4 kB / 0.9547 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.009707, allocations: 42.56 kB / 0.9548 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.009797, allocations: 28.97 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.009828, allocations: 11.92 kB / 0.9548 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.01, allocations: 75.31 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.01, allocations: 0 / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004675/0.01047, allocations: 145.5 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.01053, allocations: 55.41 kB / 0.9551 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.0107, allocations: 130 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01072, allocations: 25.7 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.01079, allocations: 92.12 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.0109, allocations: 23.91 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.01096, allocations: 29.7 kB / 0.9553 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.01112, allocations: 318.8 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.0112, allocations: 23.97 kB / 0.9557 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.01131, allocations: 50.5 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.01149, allocations: 78.8 kB / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.01149, allocations: 0 / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002657/0.01176, allocations: 121.5 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01177, allocations: 6.188 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01178, allocations: 0 / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.0118, allocations: 4 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.01189, allocations: 16 kB / 0.9559 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.0119, allocations: 3.984 kB / 0.9559 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.01197, allocations: 8 kB / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01199, allocations: 4 kB / 0.956 GB, free: 6.203 MB / 0.8575 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.0001033/0.01209, allocations: 117.8 kB / 0.9561 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.01211, allocations: 11.89 kB / 0.9561 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.01215, allocations: 12.42 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01215, allocations: 4 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01215, allocations: 0 / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01216, allocations: 4 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.01264, allocations: 330 kB / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01264, allocations: 3.938 kB / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.01268, allocations: 4 kB / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01269, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.0127, allocations: 7.984 kB / 0.9564 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.0127, allocations: 0 / 0.9564 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0127, allocations: 0 / 0.9564 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.01304, allocations: 223.3 kB / 0.9566 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01305, allocations: 7.891 kB / 0.9566 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01308, allocations: 7.984 kB / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.01316, allocations: 0 / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.01321, allocations: 11.98 kB / 0.9567 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01322, allocations: 0 / 0.9567 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.01328, allocations: 95.27 kB / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01328, allocations: 0 / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003264/0.01361, allocations: 39.92 kB / 0.9568 GB, free: 5.277 MB / 0.8575 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.0004537/0.01406, allocations: 170.1 kB / 0.957 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.01434, allocations: 67.89 kB / 0.957 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01434, allocations: 0 / 0.957 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01446, allocations: 35.97 kB / 0.9571 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01474, allocations: 14.52 kB / 0.9571 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.01519, allocations: 170.2 kB / 0.9572 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.01527, allocations: 75.33 kB / 0.9573 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.01531, allocations: 7.984 kB / 0.9573 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.01535, allocations: 12.5 kB / 0.9573 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.01535, allocations: 0 / 0.9573 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of Templates: time 0.005177/0.02052, allocations: 1.496 MB / 0.9588 GB, free: 3.223 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.227777689695358]