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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001785/0.001785, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.381/2.381, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7446, allocations: 140.4 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002431/0.7471, allocations: 1.528 MB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.7482, allocations: 0.7375 MB / 0.9511 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.7482, allocations: 0 / 0.9511 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.7483, allocations: 0 / 0.9511 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.7484, allocations: 9.031 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.7488, allocations: 109 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.7489, allocations: 74.94 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.749, allocations: 17.64 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.7491, allocations: 30.41 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.7492, allocations: 38.89 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.7492, allocations: 3.75 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.7494, allocations: 89.94 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.7494, allocations: 18.42 kB / 0.9515 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.7494, allocations: 24.7 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.7496, allocations: 139.8 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7496, allocations: 0 / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7497, allocations: 4 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.7497, allocations: 1.25 kB / 0.9517 GB, free: 7 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.0004959/0.7502, allocations: 423.6 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7502, allocations: 13.53 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.7503, allocations: 3.75 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.7504, allocations: 172.2 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.7504, allocations: 2.969 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.7504, allocations: 4.969 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.7506, allocations: 75.03 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.7506, allocations: 1.156 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7506, allocations: 3.984 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7507, allocations: 1.156 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.7508, allocations: 32.92 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.7514, allocations: 330.1 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.7515, allocations: 47.59 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.7516, allocations: 32.81 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.7516, allocations: 4.016 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.7518, allocations: 85.11 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.7518, allocations: 1.406 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004447/0.7523, allocations: 139.1 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.7523, allocations: 57.64 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.7524, allocations: 117.5 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7524, allocations: 30.77 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.7525, allocations: 90.16 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7525, allocations: 14.75 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.7526, allocations: 34.36 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.7526, allocations: 316.7 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.7527, allocations: 34.5 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.7528, allocations: 53.14 kB / 0.9537 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.753, allocations: 73.58 kB / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.753, allocations: 0 / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002409/0.7532, allocations: 112.8 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7532, allocations: 5.656 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.7532, allocations: 1.312 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7533, allocations: 1.406 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.7534, allocations: 15.45 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7534, allocations: 7 kB / 0.9539 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.7535, allocations: 7.406 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.7535, allocations: 6.531 kB / 0.9539 GB, free: 4.852 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 7.335e-05/0.7536, allocations: 118.8 kB / 0.954 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.7536, allocations: 6.469 kB / 0.954 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.7536, allocations: 14.83 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.7536, allocations: 3.984 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7536, allocations: 1.531 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7537, allocations: 4 kB / 0.9541 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.7542, allocations: 386.8 kB / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7542, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.7543, allocations: 4.469 kB / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7543, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.7543, allocations: 5.609 kB / 0.9544 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7543, allocations: 0 / 0.9544 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7543, allocations: 3.938 kB / 0.9544 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.7547, allocations: 210 kB / 0.9546 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.7548, allocations: 82.52 kB / 0.9547 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.7548, allocations: 5.578 kB / 0.9547 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.7549, allocations: 2.25 kB / 0.9547 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.755, allocations: 14.92 kB / 0.9547 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.755, allocations: 6.531 kB / 0.9548 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.7551, allocations: 101 kB / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7551, allocations: 0 / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004924/0.7556, allocations: 40.22 kB / 0.9549 GB, free: 3.934 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.0003726/0.756, allocations: 154.6 kB / 0.955 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.7563, allocations: 77.48 kB / 0.9551 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7563, allocations: 0 / 0.9551 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.7565, allocations: 35.84 kB / 0.9551 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.7569, allocations: 12.3 kB / 0.9552 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.7575, allocations: 195 kB / 0.9553 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.7576, allocations: 0.6917 MB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.527e-05/0.7577, allocations: 4.031 kB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.7577, allocations: 14.7 kB / 0.956 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7577, allocations: 0 / 0.956 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.005916/0.7637, allocations: 1.376 MB / 0.9574 GB, free: 2.16 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