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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001694/0.001694, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5101, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002264/0.5124, allocations: 1.531 MB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.5134, allocations: 0.7365 MB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.5135, allocations: 1.375 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.5135, allocations: 3.938 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.5136, allocations: 13.23 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.514, allocations: 104.6 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.5141, allocations: 74.3 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.5142, allocations: 22.06 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.5143, allocations: 30.17 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.5144, allocations: 40.17 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.5144, allocations: 6.625 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.5146, allocations: 85.56 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.5146, allocations: 11.45 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.5146, allocations: 32.36 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.5148, allocations: 132.6 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5149, allocations: 4 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5149, allocations: 3.938 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.5149, allocations: 0 / 0.9518 GB, free: 6.996 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.0004884/0.5154, allocations: 428.3 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5154, allocations: 9.438 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.5154, allocations: 32.44 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.5155, allocations: 4.094 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.76e-05/0.5156, allocations: 180.6 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5156, allocations: 5.906 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.5156, allocations: 8.438 kB / 0.9524 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.5158, allocations: 68.5 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5158, allocations: 0 / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5158, allocations: 4 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5158, allocations: 1.406 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.5159, allocations: 40.41 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.5164, allocations: 317.7 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5166, allocations: 52.36 kB / 0.9529 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.5166, allocations: 32.38 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5167, allocations: 1.281 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.5168, allocations: 85.28 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.5168, allocations: 0 / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000353/0.5172, allocations: 137.1 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.5172, allocations: 52.69 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.5173, allocations: 121.7 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5173, allocations: 29.7 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.5174, allocations: 91.55 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.5174, allocations: 22.23 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.5174, allocations: 22.53 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.5175, allocations: 323.8 kB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.5176, allocations: 31.52 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.5176, allocations: 56.36 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.5178, allocations: 76.92 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5178, allocations: 1.25 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/0.518, allocations: 112.5 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.518, allocations: 5.156 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5181, allocations: 1.156 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5181, allocations: 5.188 kB / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.5182, allocations: 15.86 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5182, allocations: 1.406 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.5183, allocations: 12.33 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5183, allocations: 2.75 kB / 0.9541 GB, free: 4.801 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.834e-05/0.5183, allocations: 119.6 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.5184, allocations: 10.88 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.5184, allocations: 5.719 kB / 0.9542 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5184, allocations: 5.625 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5184, allocations: 0 / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5184, allocations: 3.984 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.5188, allocations: 383 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5188, allocations: 3.984 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.5188, allocations: 3.375 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5188, allocations: 1.062 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5188, allocations: 0.8438 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5189, allocations: 8.906 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5189, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5191, allocations: 213.9 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.5191, allocations: 83.27 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5192, allocations: 1.25 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.5192, allocations: 10.42 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.5193, allocations: 2.906 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.5193, allocations: 9.297 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.5193, allocations: 93.06 kB / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5193, allocations: 0 / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002933/0.5196, allocations: 40.7 kB / 0.955 GB, free: 3.895 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.0005791/0.5202, allocations: 0.821 MB / 0.9558 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.5204, allocations: 66.25 kB / 0.9559 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5205, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.5206, allocations: 35.45 kB / 0.9559 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.5208, allocations: 23.14 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.522, allocations: 1.499 MB / 0.9574 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.5221, allocations: 0.6846 MB / 0.9581 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.5222, allocations: 7.016 kB / 0.9581 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.5222, allocations: 18.81 kB / 0.9581 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5222, allocations: 0 / 0.9581 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.658, allocations: 2.428 MB / 0.9605 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/1.659, allocations: 257.8 kB / 0.9607 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/4.239, allocations: 0 / 0.9607 GB, free: 15.43 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