Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001496/0.001496, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001269/0.00127, allocations: 187 kB / 17.34 MB, free: 5.742 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7936, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002388/0.796, allocations: 1.487 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.7972, allocations: 0.7205 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.7972, allocations: 1.125 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.7973, allocations: 4.5 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.7973, allocations: 15.59 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.7979, allocations: 124.8 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.798, allocations: 77.83 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.7981, allocations: 11.17 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.7982, allocations: 36.06 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.7983, allocations: 37.45 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7983, allocations: 6.156 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.7985, allocations: 97.34 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.7985, allocations: 23.7 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.7986, allocations: 31.47 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.7988, allocations: 139.4 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7989, allocations: 4 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7989, allocations: 0 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7989, allocations: 1.156 kB / 1.091 GB, free: 3.73 MB / 0.8575 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.0005311/0.7994, allocations: 420 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7995, allocations: 13.16 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.7995, allocations: 13.42 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.7996, allocations: 173.2 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7996, allocations: 3.5 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.7996, allocations: 8.734 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.7998, allocations: 71.81 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7998, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.7998, allocations: 1.5 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7999, allocations: 1.125 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.8, allocations: 35.55 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.8005, allocations: 327.4 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.8007, allocations: 45.02 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.8008, allocations: 31.98 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.8008, allocations: 6.312 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.801, allocations: 77.05 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/0.801, allocations: 0 / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003839/0.8014, allocations: 141.3 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.8014, allocations: 54.75 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.8015, allocations: 122.1 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.8015, allocations: 31.31 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.8015, allocations: 100.3 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.8016, allocations: 8.5 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.8016, allocations: 29.42 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.8017, allocations: 323.2 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.8017, allocations: 27.05 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.8019, allocations: 53.95 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.802, allocations: 72.44 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.802, allocations: 0.7188 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.8023, allocations: 111.8 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8023, allocations: 5.938 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8023, allocations: 5.453 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8023, allocations: 1.812 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.8024, allocations: 15.41 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8024, allocations: 1.031 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.8025, allocations: 21.34 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.8025, allocations: 3.266 kB / 1.094 GB, free: 1.734 MB / 0.8575 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 6.424e-05/0.8026, allocations: 121.3 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.8026, allocations: 9.906 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.8026, allocations: 11.39 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8026, allocations: 1.062 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8027, allocations: 0.5156 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8027, allocations: 1.562 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.803, allocations: 386.3 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8031, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.8031, allocations: 5.344 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8031, allocations: 0.7812 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8031, allocations: 6.094 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8031, allocations: 0.875 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8031, allocations: 5.828 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.8034, allocations: 206.7 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.8034, allocations: 80.06 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8035, allocations: 5.859 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.8035, allocations: 12.19 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.8036, allocations: 9.266 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.8036, allocations: 3.359 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.8036, allocations: 91.42 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8036, allocations: 0 / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003018/0.804, allocations: 46.52 kB / 1.095 GB, free: 0.8828 MB / 0.8575 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.0002974/0.8043, allocations: 162.5 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.8045, allocations: 72.31 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8045, allocations: 7.938 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.8046, allocations: 33.88 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.8049, allocations: 8.188 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.8052, allocations: 220.6 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.8054, allocations: 0.6866 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.8054, allocations: 11.72 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8054, allocations: 0.6875 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.004032/0.8095, allocations: 1.622 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches