Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_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.00141/0.00141, 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.001536/0.001536, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.477, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001904/0.4789, allocations: 1.483 MB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.4798, allocations: 0.7365 MB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.4798, allocations: 1.25 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.4798, allocations: 3.938 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.4799, allocations: 14.28 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.4803, allocations: 120.7 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.4804, allocations: 84.36 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.4805, allocations: 17.41 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.4805, allocations: 30.33 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.4806, allocations: 42.84 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4806, allocations: 6.875 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.4808, allocations: 102.4 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.4808, allocations: 13.89 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.4808, allocations: 32.27 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.481, allocations: 132.5 kB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.481, allocations: 0 / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.481, allocations: 5.031 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.481, allocations: 0 / 0.9525 GB, free: 7.043 MB / 0.7169 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.000432/0.4815, allocations: 427.5 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.4815, allocations: 9.969 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.4815, allocations: 36.06 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.4816, allocations: 4.219 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.412e-05/0.4816, allocations: 176.5 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4817, allocations: 6.625 kB / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4817, allocations: 7.641 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4818, allocations: 68.66 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.4818, allocations: 0 / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4819, allocations: 1.094 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4819, allocations: 1.156 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.482, allocations: 43.66 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.4824, allocations: 317.7 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.4825, allocations: 48.91 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.4826, allocations: 36.06 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4826, allocations: 1.312 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.4828, allocations: 77.62 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4828, allocations: 3.938 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003175/0.4831, allocations: 143.7 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.4831, allocations: 58.38 kB / 0.9539 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.4832, allocations: 115.8 kB / 0.954 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.4832, allocations: 30.77 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.4832, allocations: 94.72 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.4833, allocations: 11.66 kB / 0.9541 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.4833, allocations: 29.83 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.4833, allocations: 324.3 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.4834, allocations: 30.64 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.4835, allocations: 44.12 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4836, allocations: 77.47 kB / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4836, allocations: 1.094 kB / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002025/0.4838, allocations: 113.3 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4839, allocations: 4.375 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4839, allocations: 1.469 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4839, allocations: 1.438 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.484, allocations: 16.7 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.484, allocations: 1.094 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.484, allocations: 11.31 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4841, allocations: 3.75 kB / 0.9547 GB, free: 4.859 MB / 0.7169 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 5.325e-05/0.4841, allocations: 125.2 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.4841, allocations: 10.95 kB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.4842, allocations: 14.7 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4842, allocations: 1.031 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4842, allocations: 0 / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4842, allocations: 4 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4845, allocations: 392.2 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4845, allocations: 4 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.4845, allocations: 3.531 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4846, allocations: 3.984 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4846, allocations: 1.188 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4846, allocations: 8.938 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4846, allocations: 0 / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.4848, allocations: 198 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.4848, allocations: 94.44 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.4848, allocations: 2.125 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.4849, allocations: 6.125 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.485, allocations: 10.83 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.485, allocations: 1.5 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.485, allocations: 93.45 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.485, allocations: 0 / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000256/0.4853, allocations: 43.59 kB / 0.9557 GB, free: 3.938 MB / 0.7169 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.0004934/0.4858, allocations: 0.8014 MB / 0.9565 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.486, allocations: 77.45 kB / 0.9566 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.486, allocations: 0 / 0.9566 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.4861, allocations: 38.7 kB / 0.9566 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4863, allocations: 6.969 kB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4873, allocations: 1.487 MB / 0.9581 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.4874, allocations: 0.6924 MB / 0.9587 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.4875, allocations: 6.281 kB / 0.9587 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.4875, allocations: 22.55 kB / 0.9588 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.4875, allocations: 0 / 0.9588 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/2.368, allocations: 2.609 MB / 0.9613 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/10.27, allocations: 12.22 kB / 0.9613 GB, free: 15.67 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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