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.001786/0.001785, 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.001791/0.001791, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.608/1.608, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.987/2.987, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6728, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003056/0.6759, allocations: 1.558 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.6774, allocations: 0.7401 MB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.6775, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.6775, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.6776, allocations: 15.91 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.6781, allocations: 99.78 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.6782, allocations: 71.83 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.6783, allocations: 8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.6784, allocations: 35.84 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.6785, allocations: 35.83 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6785, allocations: 4 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.6787, allocations: 91.91 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.6788, allocations: 11.92 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.6788, allocations: 31.86 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.6791, allocations: 141.6 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6791, allocations: 7.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6791, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6791, allocations: 0 / 1.019 GB, free: 15.89 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.000698/0.6798, allocations: 421 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6799, allocations: 8.031 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.6799, allocations: 8.844 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.6801, allocations: 172.3 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6801, allocations: 8.375 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.6802, allocations: 8.375 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.6804, allocations: 65.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6804, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.6804, allocations: 15.86 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6804, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.6806, allocations: 35.97 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.6812, allocations: 316.7 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.6814, allocations: 50.56 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.6815, allocations: 28.97 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6815, allocations: 7.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.6817, allocations: 75.38 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.6817, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004271/0.6822, allocations: 141.5 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6822, allocations: 51.41 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6824, allocations: 121.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6824, allocations: 29.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.6825, allocations: 92.12 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.6825, allocations: 27.81 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.6826, allocations: 25.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6827, allocations: 322.8 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.978e-05/0.6828, allocations: 27.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.6829, allocations: 42.56 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.6831, allocations: 74.55 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6831, allocations: 0 / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002657/0.6834, allocations: 121.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6834, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6834, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6835, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6836, allocations: 19.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6836, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.6837, allocations: 11.84 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.6837, allocations: 0 / 1.022 GB, free: 13.34 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.0001194/0.6838, allocations: 125.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.6838, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.6839, allocations: 16.31 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6839, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6839, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6839, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.6844, allocations: 382.4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6844, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.6845, allocations: 7.984 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6845, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6845, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6845, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6845, allocations: 11.88 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.6849, allocations: 207.4 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.6849, allocations: 81.11 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.6849, allocations: 4 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.685, allocations: 4 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.6851, allocations: 11.92 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.6851, allocations: 0 / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.6852, allocations: 95.27 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6852, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000307/0.6855, allocations: 39.98 kB / 1.023 GB, free: 12.25 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.0004019/0.6859, allocations: 173.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.6862, allocations: 75.89 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6862, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.6863, allocations: 39.91 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6866, allocations: 5.719 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.687, allocations: 194.2 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.6874, allocations: 0.6865 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.6874, allocations: 7.984 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.6875, allocations: 11.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6875, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.004596/0.6921, allocations: 1.365 MB / 1.025 GB, free: 9.66 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=400 -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