Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_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.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 63.22 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002545/0.2659, allocations: 1.486 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2671, allocations: 0.734 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.2671, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.2672, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.2672, allocations: 7.875 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.2677, allocations: 127.5 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2678, allocations: 79.81 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.2679, allocations: 8 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.268, allocations: 39.86 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.268, allocations: 43.81 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2681, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.2682, allocations: 95.91 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.2683, allocations: 19.92 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2683, allocations: 31.86 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2685, allocations: 139.8 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2685, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2685, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2686, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 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.0005759/0.2691, allocations: 417 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2692, allocations: 12.03 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2692, allocations: 34.75 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.2693, allocations: 8.844 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2694, allocations: 176.2 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2694, allocations: 8.359 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2695, allocations: 4.375 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2696, allocations: 73.72 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2697, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2697, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2697, allocations: 7.938 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.2698, allocations: 35.97 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.2704, allocations: 308.8 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2705, allocations: 54.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.2706, allocations: 32.97 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2706, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.2708, allocations: 83.44 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2708, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003766/0.2712, allocations: 141.5 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2712, allocations: 55.34 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2713, allocations: 125.8 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2714, allocations: 25.7 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.2714, allocations: 96.03 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.2715, allocations: 19.75 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.2715, allocations: 29.7 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2717, allocations: 326.8 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.2717, allocations: 23.98 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.2718, allocations: 42.56 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.272, allocations: 82.47 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.272, allocations: 3.938 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002337/0.2722, allocations: 109.6 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2723, allocations: 4 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2723, allocations: 8 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2723, allocations: 3.984 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.2724, allocations: 11.98 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2724, allocations: 3.938 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.2725, allocations: 15.97 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2725, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 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 9.586e-05/0.2726, allocations: 125.7 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2726, allocations: 7.906 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2726, allocations: 12.38 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2726, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2726, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2726, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.2731, allocations: 382.8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2731, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.2732, allocations: 11.92 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2732, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2732, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2732, allocations: 3.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2732, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2735, allocations: 215.5 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.2735, allocations: 85.02 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2736, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.2737, allocations: 7.938 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2737, allocations: 11.98 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2737, allocations: 0 / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.2738, allocations: 91.27 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2738, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002569/0.274, allocations: 40 kB / 1.07 GB, free: 7.727 MB / 0.8262 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.05709/0.3311, allocations: 0.8053 MB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3314, allocations: 75.89 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3314, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3316, allocations: 31.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3319, allocations: 17.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3335, allocations: 1.484 MB / 1.072 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3339, allocations: 0.6961 MB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.3339, allocations: 8.453 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.3339, allocations: 23.42 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.334, allocations: 0 / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7971/1.131, allocations: 2.614 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.18, allocations: 0.75 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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