Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.004881/0.004881, allocations: 100 kB / 15.73 MB, free: 6.004 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.001371/0.001371, allocations: 193 kB / 16.67 MB, free: 5.922 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.512/2.512, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.06 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2584, allocations: 162.3 MB / 1.242 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002297/0.2607, allocations: 1.486 MB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2618, allocations: 0.7221 MB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.2618, allocations: 4 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.2618, allocations: 7.875 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.2619, allocations: 7.922 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.2623, allocations: 127.5 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2625, allocations: 79.77 kB / 1.244 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.2625, allocations: 15.98 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.2626, allocations: 35.89 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.2627, allocations: 31.91 kB / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2627, allocations: 11.94 kB / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2629, allocations: 95.84 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.2629, allocations: 15.98 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.263, allocations: 35.84 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.2632, allocations: 147.8 kB / 1.245 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.2632, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2632, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2632, allocations: 3.938 kB / 1.245 GB, free: 6.188 MB / 0.9669 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.0005424/0.2638, allocations: 428.6 kB / 1.245 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.2638, allocations: 8.031 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.2638, allocations: 38.75 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.2639, allocations: 8.891 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.264, allocations: 172.3 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.264, allocations: 8.375 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.264, allocations: 4.375 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2642, allocations: 73.78 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2642, allocations: 3.938 kB / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2642, allocations: 0 / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2642, allocations: 0 / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2643, allocations: 35.97 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.2649, allocations: 316.8 kB / 1.246 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.265, allocations: 50.56 kB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.2651, allocations: 36.95 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2651, allocations: 3.938 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.2653, allocations: 79.38 kB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2653, allocations: 0 / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003521/0.2656, allocations: 137.7 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2657, allocations: 55.41 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.2658, allocations: 125.8 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2658, allocations: 29.7 kB / 1.246 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.2659, allocations: 99.97 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.2659, allocations: 19.84 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.266, allocations: 29.7 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2661, allocations: 326.8 kB / 1.247 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.2662, allocations: 19.98 kB / 1.247 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.2663, allocations: 46.56 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2664, allocations: 74.55 kB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2664, allocations: 7.938 kB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.2667, allocations: 113.5 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2667, allocations: 4 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2667, allocations: 0 / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.2667, allocations: 4.062 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.2668, allocations: 15.98 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2668, allocations: 400 / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.2669, allocations: 4 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2669, allocations: 11.98 kB / 1.247 GB, free: 3.586 MB / 0.9669 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.362e-05/0.267, allocations: 118.3 kB / 1.247 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.267, allocations: 7.953 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.267, allocations: 12.31 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.267, allocations: 4 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.267, allocations: 3.938 kB / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.267, allocations: 4 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.2675, allocations: 378.5 kB / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2675, allocations: 0 / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.2675, allocations: 7.984 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.2675, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2675, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2676, allocations: 7.875 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2676, allocations: 7.938 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.2678, allocations: 219.4 kB / 1.248 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2679, allocations: 85 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2679, allocations: 4 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.268, allocations: 3.938 kB / 1.248 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.268, allocations: 11.98 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2681, allocations: 8 kB / 1.248 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.2681, allocations: 91.27 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2681, allocations: 0 / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002541/0.2684, allocations: 39.92 kB / 1.248 GB, free: 2.492 MB / 0.9669 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.0007376/0.2691, allocations: 0.801 MB / 1.249 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.2693, allocations: 71.89 kB / 1.249 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2693, allocations: 0 / 1.249 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.2694, allocations: 31.98 kB / 1.249 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.2697, allocations: 23.98 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2712, allocations: 1.486 MB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2715, allocations: 0.6963 MB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.2715, allocations: 4 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2715, allocations: 19.42 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2715, allocations: 0 / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/2.662, allocations: 2.65 MB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/13.34, allocations: 9.062 kB / 1.253 GB, free: 12.73 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,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