Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001295/0.001295, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001256/0.001256, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.613/2.613, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.91 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6927, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002521/0.6953, allocations: 1.489 MB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.6966, allocations: 0.7256 MB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.6966, allocations: 3.938 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.6967, allocations: 7.922 kB / 1.229 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.6967, allocations: 19.81 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.6973, allocations: 119.6 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.6974, allocations: 75.83 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.6975, allocations: 15.94 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.6976, allocations: 31.92 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.6976, allocations: 43.81 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.6977, allocations: 8 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.6979, allocations: 99.84 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.6979, allocations: 19.92 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.6979, allocations: 31.86 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.6981, allocations: 140 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6982, allocations: 0 / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6982, allocations: 0 / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6982, allocations: 4 kB / 1.229 GB, free: 10.67 MB / 0.9512 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.0005613/0.6987, allocations: 420.7 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.6988, allocations: 8.031 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.6988, allocations: 16.88 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.515e-05/0.6989, allocations: 168.3 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.699, allocations: 4.375 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.699, allocations: 8.375 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6991, allocations: 65.97 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6992, allocations: 7.938 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6992, allocations: 0 / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.6992, allocations: 0 / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6993, allocations: 43.91 kB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.6998, allocations: 312.7 kB / 1.23 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.7, allocations: 58.48 kB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.7001, allocations: 36.97 kB / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.7001, allocations: 0 / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.7003, allocations: 79.38 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.7003, allocations: 0 / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003639/0.7006, allocations: 137.8 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7007, allocations: 55.41 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.7008, allocations: 125.8 kB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7008, allocations: 29.7 kB / 1.231 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.7008, allocations: 88.14 kB / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.7009, allocations: 15.89 kB / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.7009, allocations: 25.72 kB / 1.231 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.701, allocations: 326.8 kB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.7011, allocations: 27.92 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.7012, allocations: 54.98 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7014, allocations: 70.61 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7014, allocations: 4 kB / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.7016, allocations: 109.6 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7016, allocations: 8 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7016, allocations: 0 / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7017, allocations: 3.938 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.7017, allocations: 19.92 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7018, allocations: 4 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.7018, allocations: 11.92 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.7019, allocations: 4 kB / 1.231 GB, free: 8.117 MB / 0.9512 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.333e-05/0.7019, allocations: 122.3 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.702, allocations: 7.953 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.702, allocations: 8.375 kB / 1.231 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.702, allocations: 3.984 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.702, allocations: 0 / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.702, allocations: 85.06 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.7021, allocations: 0 / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.7021, allocations: 11.88 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.7022, allocations: 7.984 kB / 1.232 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002743/0.7025, allocations: 192.9 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002819/0.7027, allocations: 278.8 kB / 1.232 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.8e-05/0.7028, allocations: 35.91 kB / 1.232 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.7029, allocations: 95.42 kB / 1.232 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of Backend: time 3e-07/0.7029, allocations: 0 / 1.232 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005894/0.7035, allocations: 187.2 kB / 1.232 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004192/0.7039, allocations: 0.6291 MB / 1.233 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of Templates: time 0.003776/0.7077, allocations: 1.506 MB / 1.234 GB, free: 4.883 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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