Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012WindowsNorth,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.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_10_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.001117/0.001117, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001074/0.001074, allocations: 192 kB / 17.35 MB, free: 5.738 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.11 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6893, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002351/0.6917, allocations: 1.504 MB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.6928, allocations: 0.7323 MB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.6929, allocations: 0 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.6929, allocations: 3.938 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.693, allocations: 11.86 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.6935, allocations: 123.6 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.6936, allocations: 75.72 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.6937, allocations: 19.97 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.6938, allocations: 27.92 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.6938, allocations: 39.83 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.6939, allocations: 8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.694, allocations: 99.84 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.6941, allocations: 15.97 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.6941, allocations: 35.8 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.6944, allocations: 143.3 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6944, allocations: 0 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6944, allocations: 0 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6944, allocations: 4 kB / 1.17 GB, free: 1.016 MB / 0.8887 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.0005648/0.695, allocations: 411 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.695, allocations: 8.031 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.695, allocations: 8.844 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.6951, allocations: 180.2 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.6952, allocations: 8.375 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.6952, allocations: 384 / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.6954, allocations: 73.97 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6954, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6954, allocations: 4 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6954, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.6956, allocations: 39.91 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.6961, allocations: 312.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6963, allocations: 58.53 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.6964, allocations: 36.91 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.6964, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.6966, allocations: 87.42 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.6966, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003761/0.697, allocations: 145.5 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.697, allocations: 51.41 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.6971, allocations: 125.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.6971, allocations: 29.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.6972, allocations: 88.14 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.6972, allocations: 11.81 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.6972, allocations: 29.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.6973, allocations: 326.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.6974, allocations: 27.98 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/0.6975, allocations: 46.55 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.6977, allocations: 70.5 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6977, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.6979, allocations: 117.5 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6979, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6979, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.698, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.6981, allocations: 11.98 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6981, allocations: 3.938 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.6981, allocations: 8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.6982, allocations: 11.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 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.4e-05/0.6983, allocations: 121.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.6983, allocations: 11.84 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.6983, allocations: 4.375 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6983, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6983, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.6984, allocations: 85 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6984, allocations: 4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.6985, allocations: 11.94 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.6985, allocations: 7.984 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002831/0.6988, allocations: 188.9 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002762/0.6991, allocations: 274.8 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.096e-05/0.6992, allocations: 35.97 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.6992, allocations: 99.92 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Backend: time 4.5e-07/0.6992, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.6999, allocations: 186.5 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004147/0.7003, allocations: 0.6177 MB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.003837/0.7041, allocations: 1.51 MB / 1.175 GB, free: 11.24 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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