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.001557/0.001557, allocations: 108.9 kB / 15.99 MB, free: 6.348 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.001539/0.001539, allocations: 191.7 kB / 16.91 MB, free: 6.184 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.698/2.698, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.44 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003085/0.3277, allocations: 1.688 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3292, allocations: 0.7869 MB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.3293, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.106e-05/0.3294, allocations: 11.92 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.3295, allocations: 19.8 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.3301, allocations: 135.7 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3303, allocations: 147.6 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3304, allocations: 21.11 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3305, allocations: 71.77 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3307, allocations: 75.72 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.3307, allocations: 12 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.3309, allocations: 99.91 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.331, allocations: 39.89 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3311, allocations: 67.64 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.3313, allocations: 147.9 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3313, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3313, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3314, allocations: 3.984 kB / 1.067 GB, free: 11.77 MB / 0.8419 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.0009346/0.3323, allocations: 0.5389 MB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3323, allocations: 8.031 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.3324, allocations: 8.844 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3326, allocations: 184.1 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3326, allocations: 4.375 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.3326, allocations: 16.36 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.3331, allocations: 133.9 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3331, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3332, allocations: 8 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3332, allocations: 3.938 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.3336, allocations: 107.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.3345, allocations: 384.5 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.3348, allocations: 98.45 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.3352, allocations: 88.78 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3352, allocations: 3.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.3357, allocations: 139.3 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3357, allocations: 4 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001159/0.3368, allocations: 309.2 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.3369, allocations: 55.41 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3371, allocations: 152.4 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3371, allocations: 25.7 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.3372, allocations: 100.4 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3372, allocations: 27.8 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.3373, allocations: 33.7 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3375, allocations: 326.8 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3376, allocations: 39.97 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3378, allocations: 81.05 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3381, allocations: 125 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3381, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003867/0.3385, allocations: 157.4 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3385, allocations: 8 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3385, allocations: 3.984 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3385, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3387, allocations: 19.92 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3387, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3388, allocations: 24.02 kB / 1.07 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3388, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8419 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.0001246/0.339, allocations: 120 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.339, allocations: 15.89 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3391, allocations: 12.72 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3391, allocations: 0 / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.3391, allocations: 8.109 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3391, allocations: 3.938 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3402, allocations: 0.5293 MB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3402, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.3403, allocations: 15.98 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3403, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3403, allocations: 8.453 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3403, allocations: 7.938 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3403, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.3411, allocations: 323.2 kB / 1.071 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.3412, allocations: 89 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3412, allocations: 4 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3414, allocations: 23.91 kB / 1.072 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3415, allocations: 11.98 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.3416, allocations: 4 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.482e-05/0.3416, allocations: 114.3 kB / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3416, allocations: 4 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003388/0.342, allocations: 44 kB / 1.072 GB, free: 6.887 MB / 0.8419 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.0004272/0.3424, allocations: 167 kB / 1.072 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.343, allocations: 147.8 kB / 1.072 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.343, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.3434, allocations: 96.11 kB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3437, allocations: 15.98 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.3445, allocations: 322 kB / 1.072 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3448, allocations: 0.7039 MB / 1.073 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.3449, allocations: 15.44 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3449, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of Templates: time 0.004651/0.3496, allocations: 2.134 MB / 1.075 GB, free: 3.258 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/jenkins1/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