Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Rijal2007WindowsTInTOutTComf,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.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_11_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.001147/0.001147, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.0105/0.0105, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.672/1.672, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.066/3.066, allocations: 470.6 MB / 0.7441 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 14.38 kB / 0.9123 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4151, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002545/0.4177, allocations: 1.351 MB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4195, allocations: 0.7793 MB / 1.072 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.4197, allocations: 0 / 1.072 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.4197, allocations: 3.938 kB / 1.072 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.4198, allocations: 23.78 kB / 1.072 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.4208, allocations: 127.7 kB / 1.072 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.4212, allocations: 151.5 kB / 1.072 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.4214, allocations: 17.11 kB / 1.072 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.4217, allocations: 55.84 kB / 1.072 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4219, allocations: 71.72 kB / 1.072 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.422, allocations: 7.938 kB / 1.072 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.4223, allocations: 95.84 kB / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.4224, allocations: 35.88 kB / 1.073 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4225, allocations: 81.42 kB / 1.073 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.4229, allocations: 195.7 kB / 1.073 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4229, allocations: 0 / 1.073 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.296e-06/0.423, allocations: 0 / 1.073 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.423, allocations: 0 / 1.073 GB, free: 8.41 MB / 0.8262 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.001129/0.4241, allocations: 0.5291 MB / 1.073 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.4242, allocations: 8.031 kB / 1.073 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.4242, allocations: 12.84 kB / 1.073 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.4245, allocations: 186.7 kB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4245, allocations: 12.36 kB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4246, allocations: 4.375 kB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.4251, allocations: 157.9 kB / 1.074 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4251, allocations: 0 / 1.074 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4252, allocations: 0 / 1.074 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4252, allocations: 4 kB / 1.074 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.4257, allocations: 131.9 kB / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/0.4267, allocations: 396.4 kB / 1.074 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.4271, allocations: 114.5 kB / 1.074 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.4274, allocations: 96.8 kB / 1.074 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4275, allocations: 8 kB / 1.074 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.428, allocations: 159.2 kB / 1.075 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.948e-06/0.428, allocations: 112 / 1.075 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001253/0.4293, allocations: 357.2 kB / 1.075 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.4293, allocations: 51.41 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.4295, allocations: 153 kB / 1.075 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4295, allocations: 30.08 kB / 1.075 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4297, allocations: 100.4 kB / 1.075 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.4297, allocations: 27.8 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.4298, allocations: 21.7 kB / 1.075 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.43, allocations: 334.7 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.4301, allocations: 47.97 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.4303, allocations: 85.12 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.4307, allocations: 141 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4307, allocations: 0 / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004388/0.4311, allocations: 169.5 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4312, allocations: 4 kB / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4312, allocations: 7.984 kB / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.4312, allocations: 0 / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4314, allocations: 28.09 kB / 1.076 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4314, allocations: 4 kB / 1.076 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4315, allocations: 19.89 kB / 1.076 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.4316, allocations: 11.94 kB / 1.076 GB, free: 4.773 MB / 0.8262 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 0.0001575/0.4317, allocations: 122.5 kB / 1.076 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.4318, allocations: 7.906 kB / 1.076 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.4318, allocations: 12.72 kB / 1.076 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.4318, allocations: 7.984 kB / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4319, allocations: 0 / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4319, allocations: 4 kB / 1.076 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.4331, allocations: 0.5567 MB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4331, allocations: 0 / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.4332, allocations: 19.97 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4332, allocations: 0 / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.4332, allocations: 0 / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4332, allocations: 7.875 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4332, allocations: 0 / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.4341, allocations: 359.2 kB / 1.077 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.4342, allocations: 85.02 kB / 1.077 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.4342, allocations: 4.188 kB / 1.077 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.4345, allocations: 43.84 kB / 1.077 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.4345, allocations: 11.92 kB / 1.077 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4346, allocations: 11.98 kB / 1.077 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.806e-05/0.4346, allocations: 107.2 kB / 1.077 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4347, allocations: 0 / 1.077 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003563/0.435, allocations: 48 kB / 1.077 GB, free: 3.281 MB / 0.8262 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.0004787/0.4355, allocations: 153.5 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006342/0.4361, allocations: 172 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4362, allocations: 4 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.4366, allocations: 100 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.4369, allocations: 12 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.4377, allocations: 319.5 kB / 1.078 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4381, allocations: 0.7005 MB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.941e-05/0.4382, allocations: 11.98 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.4383, allocations: 11.44 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4383, allocations: 0 / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of Templates: time 0.0062/0.4445, allocations: 1.844 MB / 1.081 GB, free: 15.93 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches