Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001337/0.001337, allocations: 192 kB / 16.25 MB, free: 6.637 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.88 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7512, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002908/0.7541, allocations: 1.555 MB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.7554, allocations: 0.7141 MB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.7555, allocations: 0 / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.7555, allocations: 5.312 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.7556, allocations: 17.41 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.7562, allocations: 101.7 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.7564, allocations: 79.23 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.7565, allocations: 22.06 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.7566, allocations: 33.61 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.7567, allocations: 38.77 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.7567, allocations: 6.875 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.7569, allocations: 98.66 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.757, allocations: 18.67 kB / 0.9517 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.757, allocations: 36.08 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.7573, allocations: 143.1 kB / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7573, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7573, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7574, allocations: 1.312 kB / 0.9519 GB, free: 6.992 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.0006825/0.758, allocations: 419.1 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/0.7581, allocations: 9.656 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.7582, allocations: 13.56 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.7583, allocations: 171 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.7583, allocations: 7.438 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.7583, allocations: 3.531 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.7586, allocations: 72.5 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7586, allocations: 0 / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.7586, allocations: 0.75 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7586, allocations: 1.188 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.7587, allocations: 43.94 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.7594, allocations: 323 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7595, allocations: 44.09 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.7596, allocations: 40.11 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.7596, allocations: 0 / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.7599, allocations: 85.3 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.7599, allocations: 5.5 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004026/0.7603, allocations: 135 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.7603, allocations: 58.22 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.7604, allocations: 124.3 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.7604, allocations: 26.89 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.7605, allocations: 86.95 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.7605, allocations: 18.38 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.7606, allocations: 31.2 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.7606, allocations: 328.4 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.7607, allocations: 22.48 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.7608, allocations: 56.33 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.761, allocations: 66.19 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.761, allocations: 0 / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.7612, allocations: 116.5 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7612, allocations: 5.688 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7612, allocations: 5.219 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7613, allocations: 1.25 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.7614, allocations: 11.64 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7614, allocations: 1.406 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.7615, allocations: 12.94 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.7615, allocations: 6.703 kB / 0.9541 GB, free: 4.844 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,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 8.614e-05/0.7616, allocations: 122.8 kB / 0.9542 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.7616, allocations: 6.406 kB / 0.9543 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.7616, allocations: 9.875 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7616, allocations: 1.125 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7616, allocations: 5.156 kB / 0.9543 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7617, allocations: 3.938 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.7621, allocations: 379 kB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7621, allocations: 3.938 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.7621, allocations: 11.27 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7621, allocations: 1.5 kB / 0.9547 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7622, allocations: 5.406 kB / 0.9547 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7622, allocations: 0 / 0.9547 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7622, allocations: 3.938 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.7624, allocations: 210.5 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.7625, allocations: 82.39 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.7625, allocations: 5.5 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.7626, allocations: 6.906 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.7626, allocations: 10.89 kB / 0.955 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.7627, allocations: 1.219 kB / 0.955 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.7627, allocations: 92.45 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7627, allocations: 0 / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00034/0.7631, allocations: 40.67 kB / 0.9551 GB, free: 3.934 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 (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.0003689/0.7634, allocations: 168 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.7637, allocations: 69.92 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7637, allocations: 0 / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.7638, allocations: 48.31 kB / 0.9554 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.7641, allocations: 5.656 kB / 0.9554 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.7646, allocations: 198.4 kB / 0.9556 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.7648, allocations: 0.6874 MB / 0.9562 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.7648, allocations: 16.52 kB / 0.9562 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.7649, allocations: 9.781 kB / 0.9563 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7649, allocations: 0 / 0.9563 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of Templates: time 0.004495/0.7694, allocations: 1.398 MB / 0.9576 GB, free: 2.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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