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.001268/0.001268, allocations: 108 kB / 15.6 MB, free: 132 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.001276/0.001276, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.656/2.656, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6974/0.6996, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002427/0.702, allocations: 1.47 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.7031, allocations: 0.7323 MB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.7032, allocations: 3.938 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.7032, allocations: 3.938 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.7032, allocations: 11.86 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.7037, allocations: 119.6 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.7038, allocations: 83.75 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.7039, allocations: 8 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.704, allocations: 35.86 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.7041, allocations: 43.81 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.7041, allocations: 4 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.7043, allocations: 95.91 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.7043, allocations: 20 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.7044, allocations: 31.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.7046, allocations: 149.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7046, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7046, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7046, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 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.0005676/0.7052, allocations: 420.8 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7052, allocations: 12.03 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.7053, allocations: 34.75 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.7053, allocations: 8.844 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.7054, allocations: 168.4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.7054, allocations: 4.375 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.7055, allocations: 8.359 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.7056, allocations: 73.78 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7057, allocations: 3.938 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7057, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7057, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.7058, allocations: 39.97 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.7064, allocations: 328.5 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7065, allocations: 42.56 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.7066, allocations: 36.91 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.7066, allocations: 7.922 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.7068, allocations: 79.39 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7068, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003777/0.7072, allocations: 141.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7073, allocations: 55.41 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.7073, allocations: 121.8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7074, allocations: 29.64 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.7074, allocations: 96.12 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.7074, allocations: 19.88 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.7075, allocations: 29.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7076, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.7077, allocations: 23.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.7078, allocations: 42.56 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.7079, allocations: 78.48 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7079, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002295/0.7082, allocations: 113.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7082, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7082, allocations: 4.062 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7082, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.7083, allocations: 11.98 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7083, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.7084, allocations: 15.84 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7084, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 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.544e-05/0.7085, allocations: 124.4 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.7086, allocations: 7.938 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.7086, allocations: 16.31 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7086, allocations: 4 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7086, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7086, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.7091, allocations: 378.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7091, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.7091, allocations: 11.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.7091, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.7091, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.7092, allocations: 15.88 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7092, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.7094, allocations: 199.5 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.7095, allocations: 85.02 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.7095, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.7096, allocations: 15.88 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.7096, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.7097, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.7097, allocations: 91.27 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7097, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002945/0.71, allocations: 39.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 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.0007679/0.7108, allocations: 0.8104 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.711, allocations: 75.89 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.711, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.7111, allocations: 31.98 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.7114, allocations: 20.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.713, allocations: 1.482 MB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.7132, allocations: 0.6923 MB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.7133, allocations: 4 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.7133, allocations: 23.42 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 6.42e-07/0.7133, allocations: 3.938 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.179/3.893, allocations: 2.617 MB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/12.71, allocations: 9.516 kB / 1.029 GB, free: 6.371 MB / 0.7794 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