Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 112.3 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 55.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.004534/1.08, allocations: 1.504 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00222/1.082, allocations: 0.7245 MB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/1.083, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/1.083, allocations: 3.938 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/1.083, allocations: 15.84 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/1.084, allocations: 131.5 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/1.084, allocations: 75.72 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/1.084, allocations: 11.98 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/1.084, allocations: 27.92 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/1.085, allocations: 39.83 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/1.085, allocations: 8 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/1.085, allocations: 99.84 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/1.085, allocations: 19.97 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/1.085, allocations: 39.78 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/1.086, allocations: 140.1 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/1.086, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.985e-06/1.086, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.086, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 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.001156/1.087, allocations: 420.7 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.087, allocations: 8.031 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/1.087, allocations: 12.89 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/1.087, allocations: 176.3 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/1.087, allocations: 8.375 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/1.087, allocations: 4.375 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/1.088, allocations: 65.97 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.088, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/1.088, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.088, allocations: 4 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/1.088, allocations: 35.97 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/1.089, allocations: 320.6 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.089, allocations: 54.55 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.089, allocations: 28.97 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/1.089, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/1.09, allocations: 75.38 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 6.092e-06/1.09, allocations: 3.938 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000707/1.091, allocations: 145.5 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.091, allocations: 51.41 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/1.091, allocations: 125.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/1.091, allocations: 33.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.091, allocations: 96.16 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.091, allocations: 15.91 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/1.091, allocations: 25.7 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002232/1.091, allocations: 322.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.092, allocations: 31.98 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/1.092, allocations: 50.55 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/1.092, allocations: 70.5 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.092, allocations: 3.938 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004461/1.093, allocations: 113.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.093, allocations: 4.062 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.093, allocations: 8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.093, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.093, allocations: 15.92 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.093, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.093, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/1.093, allocations: 7.984 kB / 1.172 GB, free: 14.46 MB / 0.9044 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.0001657/1.093, allocations: 119.4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/1.093, allocations: 11.95 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/1.093, allocations: 12.38 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.093, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.093, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.093, allocations: 7.922 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/1.094, allocations: 386.4 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.094, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/1.094, allocations: 7.984 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.094, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.094, allocations: 8 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.094, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.094, allocations: 3.938 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/1.095, allocations: 207.4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/1.095, allocations: 85.06 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/1.095, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.095, allocations: 7.984 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/1.095, allocations: 7.938 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/1.095, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000101/1.095, allocations: 95.27 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/1.095, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005333/1.096, allocations: 35.92 kB / 1.173 GB, free: 13.38 MB / 0.9044 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.0005791/1.097, allocations: 176.7 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004446/1.097, allocations: 75.88 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.097, allocations: 0 / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/1.097, allocations: 31.98 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/1.098, allocations: 6.797 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/1.098, allocations: 203.4 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/1.099, allocations: 0.6846 MB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.566e-05/1.099, allocations: 7.984 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/1.099, allocations: 11.44 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/1.099, allocations: 0 / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.008226/1.107, allocations: 1.456 MB / 1.176 GB, free: 10.69 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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