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) 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.Zhang2012WindowsSouth,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.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_10_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.0008486/0.0008486, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006955/0.006955, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.75/2.75, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003802, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8115, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00197/0.8135, allocations: 1.223 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.8149, allocations: 0.7169 MB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.8149, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.815, allocations: 3.938 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.815, allocations: 11.91 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.8156, allocations: 103.8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.8157, allocations: 71.78 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.8158, allocations: 4 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.8159, allocations: 43.89 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.816, allocations: 27.84 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.816, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.8162, allocations: 95.84 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.8163, allocations: 11.92 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.8163, allocations: 57.55 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.8166, allocations: 133.6 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8166, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.427e-06/0.8166, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.8166, allocations: 3.938 kB / 1.025 GB, free: 13.35 MB / 0.7794 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.0005884/0.8172, allocations: 413 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8172, allocations: 8.031 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.8173, allocations: 12.84 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.8175, allocations: 172.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.8175, allocations: 8.375 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.8175, allocations: 4.375 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8177, allocations: 77.97 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8177, allocations: 3.984 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8177, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.8178, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.8179, allocations: 43.91 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.8186, allocations: 328.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.8187, allocations: 50.56 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.8188, allocations: 36.97 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.8188, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.819, allocations: 87.22 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.819, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.8194, allocations: 141.6 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.8195, allocations: 63.45 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.8196, allocations: 121.8 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.8196, allocations: 29.7 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.8197, allocations: 92.12 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8197, allocations: 11.81 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.8198, allocations: 17.72 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8199, allocations: 330.8 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.82, allocations: 23.98 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.8201, allocations: 54.48 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.8203, allocations: 74.56 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8203, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.8206, allocations: 117.5 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8206, allocations: 9.781 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8206, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8207, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8208, allocations: 15.92 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8208, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.8209, allocations: 19.92 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.8209, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 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.0001285/0.821, allocations: 125.9 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.821, allocations: 7.906 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.8211, allocations: 8.375 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8211, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8211, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8211, allocations: 7.922 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.8216, allocations: 390.4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8217, allocations: 3.984 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.8217, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8217, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8217, allocations: 4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8217, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8217, allocations: 3.938 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.8221, allocations: 227.8 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.8221, allocations: 81.02 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.8221, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.8222, allocations: 11.98 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.8223, allocations: 7.938 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.8223, allocations: 7.984 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.8224, allocations: 91.22 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8224, allocations: 4 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003207/0.8227, allocations: 39.98 kB / 1.029 GB, free: 9.648 MB / 0.7794 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.0004045/0.8231, allocations: 154.2 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.8234, allocations: 83.89 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8234, allocations: 0 / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.8235, allocations: 35.98 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.8238, allocations: 10.36 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.8243, allocations: 209.2 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.8247, allocations: 0.6904 MB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.8247, allocations: 4 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8248, allocations: 15.42 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8248, allocations: 0 / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of Templates: time 0.00421/0.829, allocations: 1.363 MB / 1.031 GB, free: 7.043 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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