Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, 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.001217/0.001217, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.428/1.428, 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.774/2.774, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.86 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003024/0.3233, allocations: 1.594 MB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3247, allocations: 0.7801 MB / 1.264 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.3248, allocations: 4 kB / 1.264 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.3248, allocations: 7.875 kB / 1.264 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.3249, allocations: 27.72 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.3255, allocations: 143.6 kB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3257, allocations: 139.6 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.3258, allocations: 11.98 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3259, allocations: 63.77 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.326, allocations: 79.72 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.326, allocations: 12 kB / 1.265 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3263, allocations: 103.9 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.3263, allocations: 35.88 kB / 1.265 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.3264, allocations: 51.78 kB / 1.265 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.3267, allocations: 203.2 kB / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3267, allocations: 0 / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3267, allocations: 0 / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3267, allocations: 0 / 1.265 GB, free: 9.723 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008123/0.3275, allocations: 490.1 kB / 1.266 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3276, allocations: 8.625 kB / 1.266 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.3276, allocations: 12.89 kB / 1.266 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3278, allocations: 180.8 kB / 1.266 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.3278, allocations: 8.375 kB / 1.266 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.3278, allocations: 12.06 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3281, allocations: 101.6 kB / 1.266 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3281, allocations: 0 / 1.266 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3281, allocations: 4 kB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3281, allocations: 4 kB / 1.266 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3283, allocations: 67.89 kB / 1.266 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.3292, allocations: 368.6 kB / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3294, allocations: 74.47 kB / 1.266 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3295, allocations: 44.83 kB / 1.267 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3296, allocations: 4 kB / 1.267 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3298, allocations: 99.34 kB / 1.267 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.3298, allocations: 0 / 1.267 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005904/0.3304, allocations: 217.4 kB / 1.267 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3305, allocations: 55.41 kB / 1.267 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3306, allocations: 156.5 kB / 1.267 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3306, allocations: 25.7 kB / 1.267 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.3307, allocations: 100.3 kB / 1.267 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3307, allocations: 24 kB / 1.267 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.3308, allocations: 33.7 kB / 1.267 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3309, allocations: 322.8 kB / 1.268 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3311, allocations: 39.97 kB / 1.268 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3312, allocations: 76.27 kB / 1.268 GB, free: 7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3315, allocations: 116.2 kB / 1.268 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3315, allocations: 4 kB / 1.268 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003539/0.3318, allocations: 157.5 kB / 1.268 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3318, allocations: 5.875 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3318, allocations: 0 / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3319, allocations: 4 kB / 1.268 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.332, allocations: 15.98 kB / 1.268 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.332, allocations: 7.938 kB / 1.268 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3321, allocations: 15.88 kB / 1.268 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3322, allocations: 4 kB / 1.268 GB, free: 6.656 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001195/0.3323, allocations: 130.6 kB / 1.268 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3323, allocations: 11.94 kB / 1.268 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.3323, allocations: 12.72 kB / 1.268 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3323, allocations: 0 / 1.268 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3323, allocations: 112 / 1.268 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.3324, allocations: 92.94 kB / 1.268 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3324, allocations: 3.984 kB / 1.268 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3325, allocations: 8 kB / 1.268 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3326, allocations: 7.984 kB / 1.268 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004539/0.333, allocations: 248.8 kB / 1.268 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004742/0.3335, allocations: 346.9 kB / 1.269 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001403/0.3336, allocations: 47.97 kB / 1.269 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.896e-05/0.3337, allocations: 109.5 kB / 1.269 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of Backend: time 3.01e-07/0.3337, allocations: 0 / 1.269 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.3345, allocations: 203.8 kB / 1.269 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005998/0.3351, allocations: 0.6455 MB / 1.27 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.005429/0.3405, allocations: 2.051 MB / 1.272 GB, free: 2.668 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches