Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437.1 MB / 0.7178 GB, free: 4.48 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002729/0.3152, allocations: 1.507 MB / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3165, allocations: 0.7284 MB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3166, allocations: 4 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.3166, allocations: 11.86 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.3167, allocations: 7.922 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3172, allocations: 123.6 kB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3174, allocations: 79.72 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.3175, allocations: 11.92 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.3175, allocations: 43.91 kB / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3176, allocations: 39.83 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3177, allocations: 8 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3179, allocations: 91.84 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3179, allocations: 15.97 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.318, allocations: 35.8 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3182, allocations: 143.5 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3182, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3182, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3182, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 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.0006557/0.3189, allocations: 426.9 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3189, allocations: 8.031 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.319, allocations: 12.88 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3191, allocations: 172.3 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3192, allocations: 8.375 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3192, allocations: 4.375 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3194, allocations: 65.97 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3194, allocations: 0 / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3194, allocations: 8 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3194, allocations: 7.938 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3196, allocations: 39.91 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.3202, allocations: 312.8 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3203, allocations: 58.53 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.3204, allocations: 28.97 kB / 1.18 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3204, allocations: 4 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3206, allocations: 79.25 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3206, allocations: 0 / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004115/0.3211, allocations: 145.9 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3211, allocations: 51.41 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3212, allocations: 121.8 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3213, allocations: 29.7 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.3213, allocations: 92.09 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3213, allocations: 23.83 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.3214, allocations: 21.72 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3216, allocations: 322.8 kB / 1.181 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.3217, allocations: 31.98 kB / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.3218, allocations: 50.48 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3219, allocations: 70.62 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.322, allocations: 0 / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002448/0.3222, allocations: 117.5 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3222, allocations: 10.19 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3222, allocations: 0 / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3223, allocations: 0 / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.3224, allocations: 19.92 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3224, allocations: 0 / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3224, allocations: 7.984 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3225, allocations: 4 kB / 1.181 GB, free: 0.5078 MB / 0.92 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.0001071/0.3226, allocations: 129.5 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3226, allocations: 7.953 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.3226, allocations: 8.375 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3226, allocations: 3.938 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3226, allocations: 0 / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3227, allocations: 3.984 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.3232, allocations: 390.3 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3232, allocations: 4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.3232, allocations: 4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3232, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3232, allocations: 4 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3233, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3233, allocations: 3.938 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3236, allocations: 211.4 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.3236, allocations: 93 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3237, allocations: 0 / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.3237, allocations: 7.984 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3238, allocations: 7.938 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3238, allocations: 7.984 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.3239, allocations: 87.94 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3239, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002907/0.3242, allocations: 43.92 kB / 1.182 GB, free: 15.41 MB / 0.9356 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.0003735/0.3246, allocations: 157.2 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3248, allocations: 76.11 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3248, allocations: 0 / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3249, allocations: 35.92 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3252, allocations: 12.12 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.3256, allocations: 209.8 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.326, allocations: 0.6885 MB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.3261, allocations: 11.44 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3261, allocations: 3.938 kB / 1.183 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.003706/0.3298, allocations: 1.619 MB / 1.185 GB, free: 12.55 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.743353098980151]