Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001628/0.001628, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.655/2.655, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8166, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002501/0.8192, allocations: 1.562 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.8203, allocations: 0.744 MB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.8204, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.449e-05/0.8204, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.8205, allocations: 7.922 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.8209, allocations: 99.77 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.821, allocations: 71.83 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.8211, allocations: 12 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.8212, allocations: 39.78 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.8213, allocations: 35.89 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8213, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.8215, allocations: 83.91 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.8215, allocations: 23.91 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.8216, allocations: 23.86 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.8218, allocations: 137.6 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8218, allocations: 4 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8218, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8218, allocations: 4 kB / 1.019 GB, free: 15.94 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.0005815/0.8224, allocations: 417 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8224, allocations: 12.03 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.8225, allocations: 8.844 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.8226, allocations: 172.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.8226, allocations: 4.375 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.8226, allocations: 8.312 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.8228, allocations: 73.97 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8228, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.8229, allocations: 7.922 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8229, allocations: 3.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.823, allocations: 35.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.8236, allocations: 324.6 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.8237, allocations: 46.56 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.8238, allocations: 32.97 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8238, allocations: 3.938 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.824, allocations: 75.38 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.824, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003697/0.8244, allocations: 137.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.8244, allocations: 55.41 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.8245, allocations: 121.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.8246, allocations: 29.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.8246, allocations: 88.14 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.8246, allocations: 19.73 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.8247, allocations: 25.7 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.8248, allocations: 326.8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.8249, allocations: 27.98 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.825, allocations: 46.55 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.8251, allocations: 74.55 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8251, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.8254, allocations: 121.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8254, allocations: 14.11 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.8254, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8254, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.8255, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8256, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.8256, allocations: 19.89 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.8256, allocations: 4 kB / 1.022 GB, free: 13.38 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 8.765e-05/0.8257, allocations: 125.9 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.8258, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.8258, allocations: 12.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8258, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8258, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8258, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.8262, allocations: 382.4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8262, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.8263, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8263, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8263, allocations: 3.984 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8263, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8263, allocations: 7.875 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.8266, allocations: 215.4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.8266, allocations: 77.11 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.8267, allocations: 7.984 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.8268, allocations: 3.938 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.8268, allocations: 11.92 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.8268, allocations: 8 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.8269, allocations: 91.27 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8269, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002847/0.8272, allocations: 36 kB / 1.023 GB, free: 12.3 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.0003414/0.8275, allocations: 158.6 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.8278, allocations: 75.89 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8278, allocations: 4.125 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.8279, allocations: 35.92 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.8281, allocations: 14.41 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.8285, allocations: 186.1 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.8287, allocations: 0.6926 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.8288, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.8288, allocations: 11.44 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8288, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.003672/0.8325, allocations: 1.379 MB / 1.025 GB, free: 9.699 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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