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.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.001595/0.001595, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00197/0.00197, allocations: 198.6 kB / 22.17 MB, free: 5.211 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.604/1.604, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.954/2.954, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002004/0.002004, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.9118, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003107/0.9149, allocations: 1.522 MB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.9165, allocations: 0.7377 MB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.9166, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.9166, allocations: 7.938 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.9167, allocations: 11.86 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.9174, allocations: 123.6 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.9175, allocations: 79.7 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.9176, allocations: 11.95 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.9178, allocations: 39.89 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.9178, allocations: 35.84 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.9178, allocations: 4 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.9181, allocations: 107.8 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.9181, allocations: 23.91 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.9182, allocations: 31.86 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.9184, allocations: 142.2 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9184, allocations: 3.984 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9184, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9184, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 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.0007593/0.9192, allocations: 415.2 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.9192, allocations: 8.031 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.9193, allocations: 16.83 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.9195, allocations: 176.3 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.9195, allocations: 384 / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.9195, allocations: 8.375 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.9197, allocations: 73.95 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9197, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9198, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.9198, allocations: 3.984 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.9199, allocations: 43.91 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.9206, allocations: 316.7 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.9207, allocations: 42.56 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.9208, allocations: 32.95 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.9208, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.921, allocations: 79.31 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.921, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.9215, allocations: 141.7 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.9215, allocations: 51.41 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.9217, allocations: 133.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.9217, allocations: 33.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.9218, allocations: 92.08 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.9218, allocations: 11.91 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.9219, allocations: 33.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.9221, allocations: 318.6 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.9222, allocations: 27.98 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.9223, allocations: 50.55 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.9224, allocations: 74.8 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9224, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00025/0.9227, allocations: 117.5 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9227, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9227, allocations: 8.062 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9227, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.9228, allocations: 15.92 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9228, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.9229, allocations: 7.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.9229, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 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.0001207/0.923, allocations: 125.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.923, allocations: 7.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.9231, allocations: 8.375 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9231, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9231, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9231, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.9236, allocations: 382.4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9236, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.9237, allocations: 11.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9237, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.9237, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9237, allocations: 7.938 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9237, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.924, allocations: 211.4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.9241, allocations: 85.06 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9241, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.9242, allocations: 7.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.9243, allocations: 11.98 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.9243, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.9243, allocations: 91.27 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9243, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003078/0.9246, allocations: 39.92 kB / 1.28 GB, free: 14.04 MB / 0.9825 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.000438/0.9251, allocations: 174.1 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.9253, allocations: 67.91 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9253, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.9254, allocations: 32.36 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.9257, allocations: 4.156 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.9262, allocations: 212.2 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.9265, allocations: 0.6846 MB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.9266, allocations: 7.984 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.9266, allocations: 11.44 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9266, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.005089/0.9317, allocations: 1.472 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.287380286958069]