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.001776/0.001776, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001806/0.001806, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.44/2.44, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.812 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8148, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003074/0.818, allocations: 1.539 MB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.8193, allocations: 0.7217 MB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.8194, allocations: 0 / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.8194, allocations: 0 / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.8195, allocations: 13.39 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.8202, allocations: 110.5 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.8203, allocations: 80.48 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.8205, allocations: 21.53 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.8206, allocations: 29.3 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.8206, allocations: 38.98 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8207, allocations: 6.938 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.8209, allocations: 97.88 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.8209, allocations: 18.75 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.821, allocations: 36.77 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.8213, allocations: 136 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8213, allocations: 0 / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8213, allocations: 1.281 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8213, allocations: 3.938 kB / 0.9519 GB, free: 7.051 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.0006355/0.822, allocations: 421 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.822, allocations: 9.031 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.8221, allocations: 3.656 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.479e-05/0.8221, allocations: 183.5 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.8222, allocations: 4.281 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.8222, allocations: 6.906 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8224, allocations: 69.28 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.8224, allocations: 3.938 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.8224, allocations: 0 / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8224, allocations: 1.156 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8226, allocations: 37.72 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.8232, allocations: 325.2 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.8233, allocations: 52.62 kB / 0.9529 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.8234, allocations: 31.94 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.8234, allocations: 4 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.8236, allocations: 82.25 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8236, allocations: 0 / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004057/0.824, allocations: 136.5 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.8241, allocations: 56.59 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.8242, allocations: 121.7 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.8242, allocations: 31.23 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.8242, allocations: 86.55 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.8243, allocations: 18.88 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.8243, allocations: 29.92 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.8244, allocations: 323.9 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.8245, allocations: 23.73 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.8246, allocations: 56.03 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.8247, allocations: 72.83 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8247, allocations: 1.031 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002326/0.825, allocations: 112.8 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.825, allocations: 10.47 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.825, allocations: 0 / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.825, allocations: 1.219 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.8251, allocations: 17.14 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.8251, allocations: 5.5 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.8252, allocations: 10.78 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8252, allocations: 7.891 kB / 0.9541 GB, free: 4.898 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 8.218e-05/0.8253, allocations: 118.5 kB / 0.9542 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.8253, allocations: 10.53 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.8254, allocations: 11.44 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8254, allocations: 0 / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8254, allocations: 0 / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8254, allocations: 5.031 kB / 0.9543 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.8258, allocations: 383.3 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8258, allocations: 0 / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.8259, allocations: 7.297 kB / 0.9546 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8259, allocations: 4 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8259, allocations: 5.625 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8259, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8259, allocations: 9.438 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.8262, allocations: 209.4 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.8263, allocations: 82.2 kB / 0.9549 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.8263, allocations: 1.219 kB / 0.9549 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.8264, allocations: 14.45 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8265, allocations: 7.375 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.8265, allocations: 2.219 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.869e-05/0.8266, allocations: 92.55 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8266, allocations: 0 / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003796/0.8269, allocations: 43.67 kB / 0.9551 GB, free: 3.984 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.0004371/0.8274, allocations: 158.9 kB / 0.9552 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.8277, allocations: 73.55 kB / 0.9553 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8277, allocations: 1.125 kB / 0.9553 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.8278, allocations: 35.94 kB / 0.9553 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8281, allocations: 7.766 kB / 0.9553 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.8285, allocations: 206.1 kB / 0.9555 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.8287, allocations: 0.692 MB / 0.9562 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.8288, allocations: 7.547 kB / 0.9562 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.8288, allocations: 15.03 kB / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8288, allocations: 0 / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.004427/0.8332, allocations: 1.405 MB / 0.9576 GB, free: 2.191 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0