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.001103/0.001103, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001113/0.001113, allocations: 189.5 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 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.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8306, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002214/0.8328, allocations: 1.474 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.8339, allocations: 0.7278 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.834, allocations: 0.8125 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.834, allocations: 5.156 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.8341, allocations: 10.48 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.8346, allocations: 122 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.8348, allocations: 81.77 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.8349, allocations: 15.05 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.835, allocations: 35.75 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.8351, allocations: 36.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.8351, allocations: 7.281 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.8353, allocations: 101.7 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.8353, allocations: 23.7 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.8354, allocations: 27.56 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.8356, allocations: 142.8 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8356, allocations: 0 / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8356, allocations: 0 / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8356, allocations: 1.188 kB / 1.091 GB, free: 3.715 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.0005264/0.8362, allocations: 423.8 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.8362, allocations: 9.5 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.8363, allocations: 12.95 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.8363, allocations: 169.3 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.8364, allocations: 3.344 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.8364, allocations: 9.125 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8366, allocations: 72.19 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8366, allocations: 0 / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8366, allocations: 1.594 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8366, allocations: 0.625 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.8367, allocations: 36.59 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.8373, allocations: 322.1 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.8374, allocations: 50.08 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.8375, allocations: 31.98 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.8375, allocations: 5.469 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.8377, allocations: 76.62 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8377, allocations: 0.75 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.8381, allocations: 136.9 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.8381, allocations: 55.56 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.8382, allocations: 122.3 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.8382, allocations: 30.58 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.8383, allocations: 92.36 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.8383, allocations: 16 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.8383, allocations: 29.42 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.8384, allocations: 323.7 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.8385, allocations: 26.73 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.8386, allocations: 55.33 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.8387, allocations: 80.17 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8387, allocations: 0 / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.839, allocations: 112.6 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.839, allocations: 5.781 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.839, allocations: 5.641 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.839, allocations: 1.219 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.8391, allocations: 11.69 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8391, allocations: 5.703 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.8392, allocations: 12.52 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.8392, allocations: 7.641 kB / 1.094 GB, free: 1.723 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.255e-05/0.8393, allocations: 124.1 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.8393, allocations: 11.12 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.8393, allocations: 11.5 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.8393, allocations: 1 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8393, allocations: 1 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8393, allocations: 0.7031 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.8397, allocations: 378.4 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8397, allocations: 0.75 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.8398, allocations: 4.797 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8398, allocations: 1.25 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8398, allocations: 6.312 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8398, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8398, allocations: 4.562 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.8401, allocations: 211.6 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.8401, allocations: 83.59 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.8401, allocations: 2.188 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.8402, allocations: 8.25 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.8403, allocations: 12.86 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.8403, allocations: 3.219 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.8403, allocations: 92.23 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8403, allocations: 3.938 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003105/0.8407, allocations: 47.17 kB / 1.095 GB, free: 0.8672 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.000283/0.8409, allocations: 158.6 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.8412, allocations: 76.77 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8412, allocations: 0.875 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.8413, allocations: 37.42 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.8416, allocations: 10.06 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.8419, allocations: 210.5 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.8421, allocations: 0.691 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.8422, allocations: 15.67 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8422, allocations: 0 / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.003902/0.8461, allocations: 1.621 MB / 1.097 GB, free: 15.68 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