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 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.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.0009179/0.0009179, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003243, allocations: 9.594 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001717/0.2943, allocations: 1.206 MB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2957, allocations: 0.7207 MB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.2957, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.2958, allocations: 7.922 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.2958, allocations: 7.922 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.2963, allocations: 103.7 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2964, allocations: 71.78 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.2965, allocations: 15.98 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.2966, allocations: 23.92 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.2967, allocations: 39.83 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2967, allocations: 7.938 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.297, allocations: 91.84 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.297, allocations: 15.92 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.2971, allocations: 57.53 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2972, allocations: 96.05 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2972, allocations: 4 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2972, allocations: 0 / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2973, allocations: 4 kB / 1.062 GB, free: 2.465 MB / 0.8106 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.000578/0.2978, allocations: 397.1 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2979, allocations: 11.97 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.2979, allocations: 12.83 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2981, allocations: 180.2 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.2981, allocations: 8.375 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.2981, allocations: 8.359 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.2983, allocations: 73.97 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2984, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2984, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2984, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2985, allocations: 43.97 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.2991, allocations: 316.7 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2993, allocations: 54.55 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.2994, allocations: 40.97 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2994, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.2996, allocations: 79.31 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2996, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004237/0.3, allocations: 149.7 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3001, allocations: 55.41 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3002, allocations: 121.7 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3002, allocations: 33.7 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.3003, allocations: 84.14 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3003, allocations: 23.73 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.3004, allocations: 21.66 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3005, allocations: 322.8 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.3006, allocations: 31.98 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.3007, allocations: 50.94 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3009, allocations: 78.55 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3009, allocations: 3.938 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002758/0.3012, allocations: 129.7 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3012, allocations: 8.875 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3012, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3012, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.3013, allocations: 15.98 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3013, allocations: 3.938 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.3014, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3014, allocations: 8 kB / 1.064 GB, free: 15.88 MB / 0.8262 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 9.085e-05/0.3015, allocations: 128.7 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3016, allocations: 7.906 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3016, allocations: 12.38 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3016, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3016, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3016, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.3021, allocations: 390.8 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3021, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3022, allocations: 7.984 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3022, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3022, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3022, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3022, allocations: 4.016 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3025, allocations: 227.3 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3025, allocations: 85.02 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3026, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.3027, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.3027, allocations: 15.92 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.3027, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.3028, allocations: 95.27 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3028, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003081/0.3031, allocations: 39.98 kB / 1.065 GB, free: 14.78 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: 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.0003232/0.3034, allocations: 159.4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.3037, allocations: 79.91 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3037, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3038, allocations: 43.91 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.3041, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.3045, allocations: 241 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3048, allocations: 0.6887 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3048, allocations: 7.438 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3048, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.003515/0.3083, allocations: 1.607 MB / 1.068 GB, free: 11.91 MB / 0.8262 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