Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 117.9 kB / 16.81 MB, free: 5.762 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.001917/0.001917, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.432/1.432, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 66.86 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.298, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002602/0.3006, allocations: 1.505 MB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3019, allocations: 0.7295 MB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.3019, allocations: 3.938 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.302, allocations: 3.938 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.302, allocations: 15.92 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.3025, allocations: 127.5 kB / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3026, allocations: 71.78 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.3027, allocations: 19.92 kB / 1.264 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.3028, allocations: 27.92 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.3029, allocations: 43.81 kB / 1.265 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3029, allocations: 8 kB / 1.265 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3031, allocations: 103.8 kB / 1.265 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.3031, allocations: 15.98 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.3032, allocations: 31.86 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3034, allocations: 147.4 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3034, allocations: 0 / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3034, allocations: 3.938 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3034, allocations: 0 / 1.265 GB, free: 10.13 MB / 0.9825 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.0006646/0.3041, allocations: 424.7 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3041, allocations: 8.625 kB / 1.265 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3042, allocations: 8.891 kB / 1.265 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3043, allocations: 172.3 kB / 1.265 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3043, allocations: 12.38 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3044, allocations: 8.359 kB / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3046, allocations: 65.97 kB / 1.265 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3046, allocations: 4 kB / 1.265 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3046, allocations: 4 kB / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3046, allocations: 0 / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3047, allocations: 39.91 kB / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.3053, allocations: 308.8 kB / 1.266 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3055, allocations: 42.56 kB / 1.266 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/0.3055, allocations: 28.97 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3056, allocations: 8.062 kB / 1.266 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3057, allocations: 83.31 kB / 1.266 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3057, allocations: 0 / 1.266 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003904/0.3061, allocations: 133.8 kB / 1.266 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3062, allocations: 55.39 kB / 1.266 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3063, allocations: 129.7 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3063, allocations: 25.7 kB / 1.266 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.3064, allocations: 100.1 kB / 1.266 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3064, allocations: 27.83 kB / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3064, allocations: 29.7 kB / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3066, allocations: 318.8 kB / 1.267 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.3066, allocations: 27.97 kB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.3067, allocations: 51.36 kB / 1.267 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3069, allocations: 87.34 kB / 1.267 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3069, allocations: 0 / 1.267 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.3072, allocations: 113.5 kB / 1.267 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3072, allocations: 8 kB / 1.267 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3072, allocations: 0 / 1.267 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3072, allocations: 4.062 kB / 1.267 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.3073, allocations: 15.98 kB / 1.267 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3073, allocations: 4.062 kB / 1.267 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.3074, allocations: 15.97 kB / 1.267 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3074, allocations: 7.984 kB / 1.267 GB, free: 7.555 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001023/0.3075, allocations: 125 kB / 1.267 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.3075, allocations: 7.953 kB / 1.267 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.3075, allocations: 8.375 kB / 1.267 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3075, allocations: 7.984 kB / 1.267 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3075, allocations: 4 kB / 1.267 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3076, allocations: 81.06 kB / 1.267 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3076, allocations: 0 / 1.267 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.3077, allocations: 7.938 kB / 1.267 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3077, allocations: 11.98 kB / 1.267 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002965/0.308, allocations: 188.9 kB / 1.268 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003244/0.3083, allocations: 282.7 kB / 1.268 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.514e-05/0.3084, allocations: 31.97 kB / 1.268 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.3085, allocations: 95.2 kB / 1.268 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of Backend: time 3.31e-07/0.3085, allocations: 0 / 1.268 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.3091, allocations: 184.8 kB / 1.268 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0004983/0.3096, allocations: 0.6098 MB / 1.269 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.004285/0.3139, allocations: 1.523 MB / 1.27 GB, free: 4.316 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0