Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004318/0.004318, allocations: 97.59 kB / 15.73 MB, free: 6 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.001184/0.001184, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 63.91 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002331/0.2515, allocations: 1.48 MB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2526, allocations: 0.7245 MB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.2527, allocations: 3.938 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.2527, allocations: 3.938 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.2528, allocations: 15.86 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2532, allocations: 123.6 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2533, allocations: 75.77 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.2534, allocations: 12 kB / 1.169 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.2535, allocations: 43.83 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.2536, allocations: 35.84 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2536, allocations: 8 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.2538, allocations: 91.91 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.2538, allocations: 19.97 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2539, allocations: 31.86 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.2541, allocations: 147.8 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2541, allocations: 7.938 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2541, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2541, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 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.0005492/0.2547, allocations: 428.6 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2547, allocations: 8.031 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2547, allocations: 30.75 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.2548, allocations: 8.891 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2549, allocations: 180.3 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2549, allocations: 8.375 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2549, allocations: 4.375 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2551, allocations: 73.72 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.2551, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2551, allocations: 4 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.2551, allocations: 0 / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2553, allocations: 35.97 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.2558, allocations: 316.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2559, allocations: 54.48 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.256, allocations: 32.97 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.256, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2562, allocations: 79.36 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2562, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000358/0.2566, allocations: 141.7 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2566, allocations: 55.34 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.2567, allocations: 125.8 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2568, allocations: 29.7 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.2568, allocations: 92.09 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.2568, allocations: 23.84 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.2569, allocations: 29.7 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.257, allocations: 318.8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.2571, allocations: 27.98 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.2572, allocations: 46.55 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2574, allocations: 74.5 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2574, allocations: 4 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002271/0.2576, allocations: 113.5 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2576, allocations: 8 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2576, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.2576, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.2577, allocations: 16.05 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2577, allocations: 4.391 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.2578, allocations: 7.984 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2578, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 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.669e-05/0.2579, allocations: 125.7 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.2579, allocations: 3.953 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.258, allocations: 12.38 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.258, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.258, allocations: 7.938 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.258, allocations: 3.984 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2584, allocations: 378.4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2584, allocations: 0 / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.2585, allocations: 11.92 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2585, allocations: 3.938 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2585, allocations: 4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2585, allocations: 3.938 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2585, allocations: 4 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2588, allocations: 207.5 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.2589, allocations: 89 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2589, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.259, allocations: 11.92 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.259, allocations: 8 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.259, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.2591, allocations: 95.92 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2591, allocations: 4 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002575/0.2593, allocations: 39.92 kB / 1.172 GB, free: 0.8633 MB / 0.92 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.0007451/0.2601, allocations: 0.8049 MB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.2603, allocations: 71.89 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2603, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.2604, allocations: 31.98 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2607, allocations: 17.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2622, allocations: 1.489 MB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2624, allocations: 0.6924 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.2625, allocations: 4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2625, allocations: 23.42 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2625, allocations: 0 / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5816/0.8442, allocations: 2.655 MB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.24, allocations: 16.45 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed