Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Rijal2007WindowsTInTOutTComf,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.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_latest_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.001087/0.001087, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001056/0.001056, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7014, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001706/0.7031, allocations: 1.305 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.7044, allocations: 0.7445 MB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.7045, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.7046, allocations: 11.92 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.7047, allocations: 27.95 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.7053, allocations: 115.6 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.7054, allocations: 87.81 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.7055, allocations: 21.11 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.7056, allocations: 59.81 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.7057, allocations: 67.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.7058, allocations: 8 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.7059, allocations: 71.86 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.706, allocations: 27.91 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.706, allocations: 37.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.7062, allocations: 145.6 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.7062, allocations: 3.938 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7062, allocations: 4 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7063, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 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.0007162/0.707, allocations: 0.5347 MB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.707, allocations: 15.98 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.7071, allocations: 7.906 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.7072, allocations: 184.3 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7073, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.7073, allocations: 19.98 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.7078, allocations: 149.5 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7078, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.7078, allocations: 4 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.7078, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.7082, allocations: 135.8 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.7091, allocations: 392.5 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.7095, allocations: 118.5 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.7095, allocations: 3.984 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.71, allocations: 159.2 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.71, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001167/0.7112, allocations: 353.3 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.7112, allocations: 51.41 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.7114, allocations: 147.3 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.7114, allocations: 29.7 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.7115, allocations: 112.3 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.7115, allocations: 15.66 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.7115, allocations: 8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7117, allocations: 322.8 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.7118, allocations: 43.97 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.712, allocations: 97.05 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.7122, allocations: 55.97 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7122, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000377/0.7126, allocations: 165.5 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7126, allocations: 8 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7126, allocations: 0 / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7126, allocations: 4 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.7128, allocations: 23.97 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7128, allocations: 7.938 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.7129, allocations: 23.91 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.713, allocations: 7.984 kB / 1.027 GB, free: 10.98 MB / 0.7794 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.7131, allocations: 128.7 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.7131, allocations: 7.906 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.7132, allocations: 12.72 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7132, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7132, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.7132, allocations: 7.984 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.7142, allocations: 0.5534 MB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.7143, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.7144, allocations: 24.03 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7144, allocations: 3.938 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.7144, allocations: 7.984 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7144, allocations: 0 / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7144, allocations: 0 / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.7152, allocations: 363.1 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.7153, allocations: 85.02 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.7153, allocations: 12 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.7156, allocations: 27.97 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.7156, allocations: 7.984 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.7157, allocations: 11.98 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.7157, allocations: 105.1 kB / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7157, allocations: 0 / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003366/0.7161, allocations: 51.92 kB / 1.028 GB, free: 9.484 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.7165, allocations: 169.6 kB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.717, allocations: 159.8 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.717, allocations: 0 / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.7174, allocations: 104.2 kB / 1.028 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.7176, allocations: 16.69 kB / 1.028 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.7182, allocations: 301.2 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.7186, allocations: 0.7049 MB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.571e-05/0.7186, allocations: 11.98 kB / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.7187, allocations: 11.44 kB / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7187, allocations: 0 / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of Templates: time 0.004715/0.7234, allocations: 1.816 MB / 1.031 GB, free: 6.172 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches