Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001455/0.001456, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.37/1.37, 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 12.0.0-master/package.mo): time 2.681/2.681, allocations: 482.2 MB / 0.7548 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003142, allocations: 71.92 kB / 0.9238 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7457, allocations: 162.2 MB / 1.082 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002386/0.7481, allocations: 1.542 MB / 1.084 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.7491, allocations: 0.7206 MB / 1.084 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.7492, allocations: 1.062 kB / 1.084 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.7492, allocations: 5.344 kB / 1.084 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.7493, allocations: 10.89 kB / 1.084 GB, free: 160 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.7497, allocations: 103.5 kB / 1.084 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.7498, allocations: 79.91 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.7498, allocations: 19.55 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.7499, allocations: 30.86 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.75, allocations: 45.89 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.75, allocations: 6.031 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.7502, allocations: 94.91 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.7502, allocations: 14.55 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.7503, allocations: 41.73 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.7505, allocations: 91.84 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7505, allocations: 2.453 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7505, allocations: 4 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.7505, allocations: 0 / 1.085 GB, free: 15.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005934/0.7511, allocations: 424.5 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.7511, allocations: 8.594 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.7512, allocations: 9.797 kB / 1.085 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.7513, allocations: 180.9 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7513, allocations: 3.562 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.7513, allocations: 7.812 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.7515, allocations: 73.38 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7515, allocations: 0 / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7516, allocations: 1.156 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7516, allocations: 5.781 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.7517, allocations: 34.41 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.7523, allocations: 315.1 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.7524, allocations: 46.33 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.7525, allocations: 31.73 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.7526, allocations: 1.828 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.7527, allocations: 84.69 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7528, allocations: 1.219 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.00039/0.7531, allocations: 140.1 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7532, allocations: 58.53 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.7533, allocations: 119.7 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.7533, allocations: 26.23 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.7534, allocations: 96.58 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.7534, allocations: 12 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.7535, allocations: 36.66 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7536, allocations: 323.7 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.7537, allocations: 23.92 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.7538, allocations: 49.89 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.754, allocations: 76.95 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.754, allocations: 0 / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.7542, allocations: 109 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.7543, allocations: 9.031 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7543, allocations: 1.281 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7543, allocations: 1.969 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.7544, allocations: 11.16 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7544, allocations: 5.281 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.7545, allocations: 18.12 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.7545, allocations: 3.516 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001002/0.7546, allocations: 119.7 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.7546, allocations: 7.328 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.7547, allocations: 11.52 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7547, allocations: 1.125 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.7547, allocations: 3.938 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7547, allocations: 4.844 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.7552, allocations: 374.3 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7552, allocations: 1.594 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.7552, allocations: 12.16 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7552, allocations: 5.188 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.7552, allocations: 2.875 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7553, allocations: 0 / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.7553, allocations: 4.875 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.7556, allocations: 210.5 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.7556, allocations: 88.2 kB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.7557, allocations: 6.062 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.7558, allocations: 4.266 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.7558, allocations: 10.23 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.7558, allocations: 1.875 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.7559, allocations: 104.7 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7559, allocations: 0 / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002977/0.7562, allocations: 42.11 kB / 1.088 GB, free: 13.09 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003133/0.7565, allocations: 151.1 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.7568, allocations: 84.62 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7568, allocations: 0 / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.7569, allocations: 37.89 kB / 1.088 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7571, allocations: 7.594 kB / 1.088 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.7575, allocations: 231.5 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.7578, allocations: 0.6868 MB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.7579, allocations: 10.94 kB / 1.089 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.7579, allocations: 1.344 kB / 1.089 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.003378/0.7612, allocations: 1.611 MB / 1.091 GB, free: 11.89 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches