Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_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.001785/0.001785, allocations: 120 kB / 16.81 MB, free: 5.758 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.00196/0.00196, 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.414/1.414, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.747/2.747, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 72.75 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002658/0.3027, allocations: 1.508 MB / 1.264 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.304, allocations: 0.7295 MB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.304, allocations: 0 / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.304, allocations: 7.922 kB / 1.264 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.3041, allocations: 7.875 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.3046, allocations: 131.6 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3047, allocations: 75.72 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.3048, allocations: 15.94 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.3049, allocations: 31.91 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.3049, allocations: 35.84 kB / 1.265 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.305, allocations: 8 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.3052, allocations: 111.8 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3052, allocations: 11.98 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.3052, allocations: 31.8 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3055, allocations: 143.5 kB / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3055, allocations: 4 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3055, allocations: 0 / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3055, allocations: 0 / 1.265 GB, free: 10.09 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.0006528/0.3061, allocations: 416.7 kB / 1.265 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3062, allocations: 12.61 kB / 1.265 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3062, allocations: 12.83 kB / 1.265 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3064, allocations: 176.3 kB / 1.265 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3064, allocations: 8.312 kB / 1.265 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3064, allocations: 12.38 kB / 1.265 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3066, allocations: 69.95 kB / 1.265 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3066, allocations: 0 / 1.265 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3066, allocations: 0 / 1.265 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3066, allocations: 4 kB / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3068, allocations: 35.97 kB / 1.266 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.3074, allocations: 312.8 kB / 1.266 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3075, allocations: 50.48 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.3076, allocations: 32.97 kB / 1.266 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3076, allocations: 4 kB / 1.266 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.3078, allocations: 79.44 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3078, allocations: 0 / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.3082, allocations: 141.5 kB / 1.266 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3082, allocations: 51.41 kB / 1.266 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3084, allocations: 129.7 kB / 1.266 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3084, allocations: 29.7 kB / 1.266 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.3084, allocations: 92.14 kB / 1.266 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.3085, allocations: 23.83 kB / 1.266 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3085, allocations: 25.72 kB / 1.266 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3087, allocations: 322.8 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.3087, allocations: 27.98 kB / 1.267 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3089, allocations: 50.92 kB / 1.267 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.309, allocations: 78.48 kB / 1.267 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.309, allocations: 3.984 kB / 1.267 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.3093, allocations: 109.6 kB / 1.267 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3093, allocations: 8 kB / 1.267 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3093, allocations: 0 / 1.267 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3093, allocations: 3.984 kB / 1.267 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.3094, allocations: 8 kB / 1.267 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3094, allocations: 8.062 kB / 1.267 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3095, allocations: 3.984 kB / 1.267 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3095, allocations: 4 kB / 1.267 GB, free: 7.547 MB / 0.9825 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.000108/0.3096, allocations: 132.5 kB / 1.267 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.3096, allocations: 3.953 kB / 1.267 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.3096, allocations: 8.375 kB / 1.267 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3096, allocations: 3.984 kB / 1.267 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3096, allocations: 0 / 1.267 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.3097, allocations: 85.06 kB / 1.267 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3097, allocations: 8 kB / 1.267 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.3098, allocations: 7.875 kB / 1.267 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3098, allocations: 11.92 kB / 1.267 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003285/0.3102, allocations: 188.9 kB / 1.267 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003298/0.3105, allocations: 287.1 kB / 1.268 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.024e-05/0.3106, allocations: 31.97 kB / 1.268 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.3106, allocations: 91.27 kB / 1.268 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of Backend: time 2.91e-07/0.3106, allocations: 0 / 1.268 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006565/0.3113, allocations: 181.5 kB / 1.268 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005368/0.3118, allocations: 0.6137 MB / 1.269 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.004552/0.3164, allocations: 1.534 MB / 1.27 GB, free: 4.293 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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