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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001051/0.001051, allocations: 100.1 kB / 15.88 MB, free: 12 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.001086/0.001086, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 64.09 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5929, allocations: 140.4 MB / 0.9496 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002405/0.5953, allocations: 1.54 MB / 0.9511 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.5964, allocations: 0.7414 MB / 0.9518 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.5965, allocations: 0 / 0.9518 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.5965, allocations: 0 / 0.9518 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.5966, allocations: 9.344 kB / 0.9518 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.5971, allocations: 113.1 kB / 0.9519 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.5972, allocations: 70.94 kB / 0.952 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.5973, allocations: 13.3 kB / 0.952 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.5974, allocations: 33.92 kB / 0.952 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.5975, allocations: 35.75 kB / 0.9521 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.5975, allocations: 3.812 kB / 0.9521 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.5977, allocations: 93.16 kB / 0.9522 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.5977, allocations: 14.47 kB / 0.9522 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.5978, allocations: 32.61 kB / 0.9522 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.5979, allocations: 105 kB / 0.9523 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5979, allocations: 0 / 0.9523 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5979, allocations: 0 / 0.9523 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5979, allocations: 0 / 0.9523 GB, free: 7.402 MB / 0.7169 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.0005607/0.5985, allocations: 424.1 kB / 0.9527 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5985, allocations: 10.16 kB / 0.9527 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5986, allocations: 4.875 kB / 0.9527 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.5987, allocations: 175.5 kB / 0.9529 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5987, allocations: 7.188 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.5987, allocations: 8.125 kB / 0.9529 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5989, allocations: 68.03 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5989, allocations: 0 / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5989, allocations: 0.9375 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.599, allocations: 1.125 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.5991, allocations: 36.62 kB / 0.953 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.5996, allocations: 328.7 kB / 0.9533 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.5998, allocations: 45.31 kB / 0.9534 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.5999, allocations: 31.75 kB / 0.9534 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.5999, allocations: 4.641 kB / 0.9534 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.6001, allocations: 78.05 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6001, allocations: 3.938 kB / 0.9535 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.6005, allocations: 143.8 kB / 0.9536 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.6005, allocations: 57.34 kB / 0.9537 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.6006, allocations: 117.2 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.6006, allocations: 26.89 kB / 0.9538 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.6007, allocations: 98.34 kB / 0.9539 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.6007, allocations: 15.09 kB / 0.9539 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.6007, allocations: 29.64 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.6008, allocations: 325.5 kB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.6009, allocations: 22.36 kB / 0.9543 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.601, allocations: 44.81 kB / 0.9543 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.6011, allocations: 80.7 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6012, allocations: 1.031 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.6014, allocations: 109.9 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6014, allocations: 4.938 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6014, allocations: 4.062 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6014, allocations: 1.375 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.6015, allocations: 12.83 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6016, allocations: 5.328 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.6016, allocations: 11.62 kB / 0.9545 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6016, allocations: 7.828 kB / 0.9545 GB, free: 5.262 MB / 0.7169 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.841e-05/0.6017, allocations: 122.9 kB / 0.9547 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.6017, allocations: 6.312 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.6018, allocations: 13.75 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6018, allocations: 1.438 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6018, allocations: 3.938 kB / 0.9547 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6018, allocations: 1.531 kB / 0.9547 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.6022, allocations: 382.2 kB / 0.9551 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6022, allocations: 4 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.6022, allocations: 11.27 kB / 0.9551 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6022, allocations: 1.062 kB / 0.9551 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6023, allocations: 5.219 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6023, allocations: 0 / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6023, allocations: 5.062 kB / 0.9551 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.6025, allocations: 201.3 kB / 0.9553 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.6025, allocations: 83.64 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.6026, allocations: 4 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.6027, allocations: 6.828 kB / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.6027, allocations: 18.92 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.6027, allocations: 2.5 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.6028, allocations: 93.23 kB / 0.9555 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6028, allocations: 0 / 0.9555 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003097/0.6031, allocations: 39.86 kB / 0.9555 GB, free: 4.348 MB / 0.7169 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.000316/0.6034, allocations: 166.3 kB / 0.9557 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.6037, allocations: 69.7 kB / 0.9557 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6037, allocations: 0 / 0.9557 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.6038, allocations: 36.53 kB / 0.9558 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.6041, allocations: 7.594 kB / 0.9558 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.6044, allocations: 229.6 kB / 0.956 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.6046, allocations: 0.6879 MB / 0.9567 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.6046, allocations: 15.89 kB / 0.9567 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6046, allocations: 0 / 0.9567 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.003183/0.6078, allocations: 1.611 MB / 0.9583 GB, free: 2.43 MB / 0.7169 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