Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001039/0.001039, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001405/0.001405, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 15.98 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.808, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001296/0.8094, allocations: 1.202 MB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.8103, allocations: 0.6863 MB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.8103, allocations: 1.125 kB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.8103, allocations: 7.922 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.8104, allocations: 5 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.8108, allocations: 97.23 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.8109, allocations: 73.66 kB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.811, allocations: 16.95 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.811, allocations: 25.17 kB / 0.9565 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.8111, allocations: 38.69 kB / 0.9565 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.8111, allocations: 4.156 kB / 0.9565 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.8113, allocations: 80.86 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.8113, allocations: 14.08 kB / 0.9566 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.8113, allocations: 39.53 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8115, allocations: 95.23 kB / 0.9568 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8115, allocations: 3.984 kB / 0.9568 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8115, allocations: 0 / 0.9568 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.8115, allocations: 1.031 kB / 0.9568 GB, free: 5.891 MB / 0.7169 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.0004605/0.812, allocations: 405.3 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.812, allocations: 13.09 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.8121, allocations: 19.41 kB / 0.9572 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.8121, allocations: 167.4 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8122, allocations: 6.062 kB / 0.9573 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.8122, allocations: 3.906 kB / 0.9573 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.8123, allocations: 70.84 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8124, allocations: 0 / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.8124, allocations: 1.125 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8124, allocations: 1.094 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.8125, allocations: 49.61 kB / 0.9575 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.813, allocations: 325.7 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.8131, allocations: 55.08 kB / 0.9578 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.8132, allocations: 33.88 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.8132, allocations: 1.156 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.8134, allocations: 88.23 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8134, allocations: 4 kB / 0.9579 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003375/0.8137, allocations: 144.3 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.8138, allocations: 53.38 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.8138, allocations: 119.9 kB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.8139, allocations: 30.95 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.8139, allocations: 91.67 kB / 0.9584 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.8139, allocations: 22.86 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.8139, allocations: 3.938 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.814, allocations: 317.1 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.8141, allocations: 28.86 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.8142, allocations: 58.08 kB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.8142, allocations: 36.14 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8142, allocations: 0 / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002072/0.8145, allocations: 123.5 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.8145, allocations: 5.438 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8145, allocations: 3.953 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.8145, allocations: 1.875 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.8146, allocations: 9.062 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8146, allocations: 5.797 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.8147, allocations: 13.25 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.8147, allocations: 1.781 kB / 0.959 GB, free: 3.809 MB / 0.7169 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.8148, allocations: 127.2 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.8148, allocations: 3.531 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.8148, allocations: 10.17 kB / 0.9591 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8148, allocations: 7.953 kB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8148, allocations: 0 / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8148, allocations: 5.797 kB / 0.9591 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.8152, allocations: 387.7 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8152, allocations: 0 / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.8152, allocations: 8.062 kB / 0.9595 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8152, allocations: 5.328 kB / 0.9595 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.8152, allocations: 3.984 kB / 0.9595 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8152, allocations: 1.375 kB / 0.9595 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8153, allocations: 0 / 0.9595 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.8155, allocations: 210.5 kB / 0.9597 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.8155, allocations: 83.77 kB / 0.9598 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.8155, allocations: 9.312 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.8156, allocations: 4.125 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.8157, allocations: 6.734 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.8157, allocations: 5.375 kB / 0.9598 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.8157, allocations: 96.89 kB / 0.9599 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8157, allocations: 0 / 0.9599 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002809/0.816, allocations: 35.5 kB / 0.9599 GB, free: 2.902 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.8163, allocations: 172.1 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.8165, allocations: 86.67 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8165, allocations: 0 / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.8166, allocations: 39.3 kB / 0.9602 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.8169, allocations: 10.73 kB / 0.9602 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.8172, allocations: 201.3 kB / 0.9604 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.8173, allocations: 0.6852 MB / 0.9611 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.8174, allocations: 6.922 kB / 0.9611 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.8174, allocations: 11.56 kB / 0.9611 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8174, allocations: 4 kB / 0.9611 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.003564/0.821, allocations: 1.334 MB / 0.9624 GB, free: 1.125 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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