Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00864/0.00864, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.00154/0.00154, allocations: 197.9 kB / 16.68 MB, free: 5.98 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.786/2.786, allocations: 437 MB / 0.7105 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002941/0.3058, allocations: 1.63 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3072, allocations: 0.8062 MB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.3072, allocations: 4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3073, allocations: 7.875 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.3074, allocations: 23.78 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.3079, allocations: 147.5 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3081, allocations: 159.5 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.3082, allocations: 17.11 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3083, allocations: 63.83 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3085, allocations: 83.7 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3085, allocations: 12 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.3087, allocations: 111.8 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.3088, allocations: 35.89 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.3089, allocations: 59.7 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.3092, allocations: 203.3 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3092, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3092, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3092, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008177/0.31, allocations: 0.5444 MB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3101, allocations: 12.03 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.3101, allocations: 12.89 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3103, allocations: 192 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3103, allocations: 4.312 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3103, allocations: 12.38 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.3108, allocations: 137.8 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3108, allocations: 7.984 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.3108, allocations: 7.984 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.3108, allocations: 4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3113, allocations: 91.91 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.3121, allocations: 392.5 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3124, allocations: 102.5 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.3128, allocations: 84.78 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3128, allocations: 7.938 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.3133, allocations: 139.2 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3133, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001154/0.3144, allocations: 309.3 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.3145, allocations: 59.39 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3147, allocations: 146 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3147, allocations: 25.7 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.3148, allocations: 104.3 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3148, allocations: 31.94 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.3149, allocations: 33.81 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.315, allocations: 322.7 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3152, allocations: 43.95 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3153, allocations: 81.12 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3156, allocations: 121 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3156, allocations: 4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003809/0.316, allocations: 157.4 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3161, allocations: 5.562 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3161, allocations: 4 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3161, allocations: 0 / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3162, allocations: 20.11 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3163, allocations: 4 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3164, allocations: 20.12 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3164, allocations: 7.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.989e-05/0.3165, allocations: 129.1 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3166, allocations: 7.953 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3166, allocations: 16.72 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3166, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3166, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3166, allocations: 384 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3176, allocations: 0.5332 MB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3177, allocations: 0 / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.3177, allocations: 12.08 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3178, allocations: 7.984 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3178, allocations: 7.984 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3178, allocations: 7.875 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3178, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.3186, allocations: 323.3 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.3186, allocations: 81.06 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3187, allocations: 8 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3189, allocations: 31.84 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.319, allocations: 7.984 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.319, allocations: 7.984 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.3191, allocations: 108.1 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3191, allocations: 0 / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003386/0.3194, allocations: 51.88 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003424/0.3198, allocations: 165.2 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.3203, allocations: 136 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3203, allocations: 8.062 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.3207, allocations: 87.86 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3209, allocations: 7.984 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.3216, allocations: 272.1 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3219, allocations: 0.7002 MB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.322, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.322, allocations: 19.44 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3221, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.005008/0.3271, allocations: 2.03 MB / 1.178 GB, free: 11.1 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches