Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_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.00786/0.00786, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001533/0.001533, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.687/2.687, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3283, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003289/0.3317, allocations: 1.471 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.3332, allocations: 0.7245 MB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.3332, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.119e-05/0.3333, allocations: 3.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.3334, allocations: 19.86 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.3341, allocations: 123.6 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3343, allocations: 79.7 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3345, allocations: 8 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3346, allocations: 39.89 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.3347, allocations: 35.84 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3347, allocations: 8 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.335, allocations: 99.84 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.335, allocations: 19.92 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.3351, allocations: 31.84 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.3354, allocations: 138.5 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3354, allocations: 4 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3354, allocations: 3.938 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3355, allocations: 0 / 1.169 GB, free: 4.496 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.0008274/0.3363, allocations: 425.8 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.3363, allocations: 8.031 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.3364, allocations: 30.75 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.3365, allocations: 8.844 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3366, allocations: 176.2 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3367, allocations: 8.375 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3367, allocations: 4.375 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3369, allocations: 73.75 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3369, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.337, allocations: 4 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.337, allocations: 8 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3371, allocations: 39.91 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.3379, allocations: 308.8 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.338, allocations: 54.55 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.3381, allocations: 36.97 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3382, allocations: 4 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.3384, allocations: 79.22 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.3384, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.3389, allocations: 133.6 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3389, allocations: 59.47 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3391, allocations: 129.7 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3391, allocations: 33.64 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.3392, allocations: 88.14 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3392, allocations: 15.81 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.3392, allocations: 25.7 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3394, allocations: 322.8 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.3395, allocations: 31.98 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3396, allocations: 50.92 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3397, allocations: 66.56 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3397, allocations: 0 / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002763/0.34, allocations: 117.5 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3401, allocations: 8 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3401, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3401, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3402, allocations: 15.92 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3402, allocations: 7.938 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.3403, allocations: 7.984 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3403, allocations: 0 / 1.171 GB, free: 1.906 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 0.0001074/0.3404, allocations: 133.8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.3405, allocations: 3.906 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.3405, allocations: 12.38 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3405, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3405, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3405, allocations: 3.984 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.341, allocations: 378.4 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.341, allocations: 0 / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3411, allocations: 11.98 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3411, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3411, allocations: 7.938 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3411, allocations: 3.938 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3411, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3414, allocations: 211.8 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.3415, allocations: 85.02 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3415, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.3416, allocations: 11.92 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3417, allocations: 4 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3417, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.3418, allocations: 99.42 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3418, allocations: 4 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003294/0.3421, allocations: 39.98 kB / 1.172 GB, free: 0.8125 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.0009448/0.3431, allocations: 0.8022 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3433, allocations: 76.02 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3434, allocations: 3.938 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3435, allocations: 31.98 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3437, allocations: 11.92 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3456, allocations: 1.489 MB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3459, allocations: 0.6885 MB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.009e-05/0.3459, allocations: 4 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.346, allocations: 23.42 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.346, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.3671, allocations: 2.661 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.11, allocations: 11.95 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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