Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001227/0.001227, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.634/2.634, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 55.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7616, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002337/0.764, allocations: 1.53 MB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.7651, allocations: 0.7226 MB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.7652, allocations: 0 / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.7652, allocations: 9.047 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.7653, allocations: 5.156 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.7658, allocations: 110.2 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.7659, allocations: 75.48 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.766, allocations: 25.47 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.766, allocations: 34.73 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.7661, allocations: 42.81 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.7661, allocations: 6.875 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.7663, allocations: 94.53 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.7663, allocations: 14.11 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.7664, allocations: 32.67 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.7666, allocations: 139.6 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7666, allocations: 9.281 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7666, allocations: 4 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7666, allocations: 0 / 0.9519 GB, free: 7.035 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.0005447/0.7671, allocations: 419.5 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7672, allocations: 14.23 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.7672, allocations: 4.781 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.7673, allocations: 171.2 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.7673, allocations: 3.719 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7674, allocations: 7.281 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.7675, allocations: 76 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7676, allocations: 1.25 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.7676, allocations: 0 / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7676, allocations: 1.062 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.7677, allocations: 36.75 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.7682, allocations: 322.1 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.7683, allocations: 48.11 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.7684, allocations: 35.66 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.7684, allocations: 1.469 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.7686, allocations: 88.7 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7686, allocations: 1.031 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003352/0.769, allocations: 132.1 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.769, allocations: 57.88 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.7691, allocations: 124.5 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7691, allocations: 31.2 kB / 0.9534 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.7691, allocations: 86.77 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.7691, allocations: 22.67 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.7692, allocations: 25.16 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.7692, allocations: 325 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.7693, allocations: 22.58 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.7694, allocations: 48.58 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.7695, allocations: 81.53 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7695, allocations: 0 / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002066/0.7698, allocations: 110 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7698, allocations: 7.188 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7698, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7698, allocations: 6.484 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.7699, allocations: 8.125 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7699, allocations: 5.031 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.77, allocations: 15.55 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.77, allocations: 2.844 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 5.857e-05/0.77, allocations: 126.8 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.7701, allocations: 6.844 kB / 0.9542 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.7701, allocations: 15.22 kB / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7701, allocations: 3.984 kB / 0.9542 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7701, allocations: 5.531 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7701, allocations: 4 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.7705, allocations: 379.1 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7705, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.7705, allocations: 2.75 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7705, allocations: 1.375 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7705, allocations: 5.406 kB / 0.9546 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7705, allocations: 7.875 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7705, allocations: 11.92 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.7708, allocations: 198.3 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.7708, allocations: 82.45 kB / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.7708, allocations: 1.406 kB / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.7709, allocations: 10.92 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.771, allocations: 6.781 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.771, allocations: 5.359 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.771, allocations: 93.47 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.771, allocations: 0 / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002911/0.7713, allocations: 44.83 kB / 0.9551 GB, free: 3.98 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.0002681/0.7716, allocations: 164.7 kB / 0.9552 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.7718, allocations: 78.17 kB / 0.9553 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.7718, allocations: 0 / 0.9553 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.7719, allocations: 40.12 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.7721, allocations: 3.969 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.7725, allocations: 201.9 kB / 0.9555 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.7726, allocations: 0.6916 MB / 0.9562 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.7726, allocations: 3.875 kB / 0.9562 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.7727, allocations: 10.75 kB / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7727, allocations: 0 / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.003708/0.7764, allocations: 1.411 MB / 0.9576 GB, free: 2.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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