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.001095/0.001095, allocations: 104 kB / 16.41 MB, free: 6.508 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.000977/0.0009771, allocations: 192.3 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.494/2.494, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7124, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002442/0.7149, allocations: 1.506 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.716, allocations: 0.7245 MB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.7161, allocations: 4 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.7161, allocations: 3.938 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.7162, allocations: 15.84 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.7167, allocations: 119.6 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.7168, allocations: 75.77 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.7169, allocations: 8 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.717, allocations: 47.83 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.7171, allocations: 31.84 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.7171, allocations: 8 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.7173, allocations: 95.91 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.7174, allocations: 15.97 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.7174, allocations: 35.8 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.7177, allocations: 147.3 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7177, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7177, allocations: 7.922 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7177, allocations: 0 / 1.17 GB, free: 0.9844 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.0005986/0.7183, allocations: 415 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7183, allocations: 8.031 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.7184, allocations: 8.844 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7185, allocations: 176.2 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.7185, allocations: 8.375 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.7186, allocations: 4.375 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.7187, allocations: 69.95 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7188, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7188, allocations: 8 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7188, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.7189, allocations: 43.95 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.7195, allocations: 308.7 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7197, allocations: 58.5 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.7198, allocations: 32.95 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.7198, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.72, allocations: 75.38 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.72, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.7204, allocations: 145.6 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.7204, allocations: 51.41 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.7205, allocations: 125.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.7205, allocations: 29.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.7206, allocations: 88.14 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.7206, allocations: 19.75 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.7207, allocations: 25.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7208, allocations: 322.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.7209, allocations: 31.98 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.721, allocations: 42.56 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.7211, allocations: 70.55 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7211, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.7214, allocations: 125.7 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.7214, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7214, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7214, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.7215, allocations: 11.98 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7215, allocations: 4.062 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.7216, allocations: 7.938 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.7216, allocations: 7.984 kB / 1.172 GB, free: 14.44 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 9.343e-05/0.7217, allocations: 127.4 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.7218, allocations: 7.906 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.7218, allocations: 12.38 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.7218, allocations: 7.875 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7218, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.7219, allocations: 81.02 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.7219, allocations: 7.984 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.722, allocations: 7.938 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.722, allocations: 11.98 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002812/0.7223, allocations: 180.9 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002916/0.7226, allocations: 282.7 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.451e-05/0.7227, allocations: 31.97 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.7227, allocations: 99.28 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Backend: time 3.01e-07/0.7228, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.7234, allocations: 181.4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000489/0.7239, allocations: 0.6267 MB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.003974/0.7279, allocations: 1.499 MB / 1.175 GB, free: 11.21 MB / 0.9044 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/jenkins1/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