Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001546/0.001546, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001808/0.001808, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.23/2.23, allocations: 390.3 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5916, allocations: 140.4 MB / 0.9492 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002135/0.5938, allocations: 1.557 MB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.5947, allocations: 0.7217 MB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.5947, allocations: 1.375 kB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.5948, allocations: 7.922 kB / 0.9515 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.5948, allocations: 9.297 kB / 0.9515 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.5953, allocations: 110.3 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.5954, allocations: 70.69 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.5955, allocations: 25.97 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.5955, allocations: 33.3 kB / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.5956, allocations: 43.19 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.5956, allocations: 7.438 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.5958, allocations: 93.91 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.5958, allocations: 14.52 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.5958, allocations: 36.31 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.596, allocations: 144.1 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.596, allocations: 0 / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.596, allocations: 4 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.596, allocations: 1.344 kB / 0.952 GB, free: 7.004 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.0004613/0.5965, allocations: 423.5 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5966, allocations: 9.938 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.5966, allocations: 32 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.5966, allocations: 3.938 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.442e-05/0.5967, allocations: 168.4 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5967, allocations: 7.219 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5967, allocations: 11.77 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.5969, allocations: 71.86 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.5969, allocations: 0 / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5969, allocations: 9.031 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5969, allocations: 0.9062 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.5971, allocations: 37.31 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.5975, allocations: 321.3 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5976, allocations: 48.97 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.5977, allocations: 31.91 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5977, allocations: 3.938 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.5979, allocations: 77.09 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.5979, allocations: 1.219 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003332/0.5982, allocations: 143.8 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.5983, allocations: 52.84 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.5983, allocations: 121.7 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.5984, allocations: 31.02 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.5984, allocations: 99.09 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.5984, allocations: 17.09 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.5985, allocations: 26.42 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.5985, allocations: 325.4 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.5986, allocations: 25.73 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.5987, allocations: 45.06 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.5988, allocations: 72.95 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5988, allocations: 1.438 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.599, allocations: 120.2 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.599, allocations: 8.312 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5991, allocations: 0 / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5991, allocations: 2.156 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.5992, allocations: 15.77 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5992, allocations: 1 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.5992, allocations: 8.531 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5993, allocations: 3.156 kB / 0.9543 GB, free: 4.824 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.818e-05/0.5993, allocations: 122.4 kB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.5994, allocations: 11.02 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.5994, allocations: 5.5 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5994, allocations: 9.094 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5994, allocations: 1.156 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5994, allocations: 0 / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.5997, allocations: 383 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5997, allocations: 0 / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.5998, allocations: 8.312 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5998, allocations: 3.984 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5998, allocations: 1.375 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5998, allocations: 7.938 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5998, allocations: 5.062 kB / 0.9548 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.6, allocations: 206.2 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.6001, allocations: 86.62 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6001, allocations: 1.156 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.6002, allocations: 6.094 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.6002, allocations: 7.391 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.6002, allocations: 6.531 kB / 0.9551 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.6003, allocations: 96.02 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6003, allocations: 0 / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002735/0.6006, allocations: 36.09 kB / 0.9553 GB, free: 3.914 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.000556/0.6011, allocations: 0.8178 MB / 0.9561 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6013, allocations: 77.8 kB / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6014, allocations: 1.25 kB / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.6014, allocations: 31.23 kB / 0.9562 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.6017, allocations: 12.33 kB / 0.9562 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6028, allocations: 1.49 MB / 0.9576 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.603, allocations: 0.6877 MB / 0.9583 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.603, allocations: 4.031 kB / 0.9583 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.603, allocations: 22.23 kB / 0.9583 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.603, allocations: 1.375 kB / 0.9583 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.6145, allocations: 2.498 MB / 0.9608 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.6148, allocations: 269.5 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.346, allocations: 3.828 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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