Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.005787/0.005787, allocations: 100.3 kB / 15.78 MB, free: 5.977 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.001428/0.001428, allocations: 193.9 kB / 16.73 MB, free: 5.852 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.455/1.455, allocations: 225.6 MB / 243.1 MB, free: 3.762 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 489.4 MB / 0.767 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.114 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 172 MB / 1.282 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003219/1.093, allocations: 1.502 MB / 1.284 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001456/1.095, allocations: 0.7443 MB / 1.284 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/1.095, allocations: 1.5 kB / 1.284 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/1.095, allocations: 4.734 kB / 1.284 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/1.095, allocations: 9.75 kB / 1.284 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/1.095, allocations: 122.1 kB / 1.285 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/1.095, allocations: 76.7 kB / 1.285 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/1.095, allocations: 15.11 kB / 1.285 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/1.096, allocations: 35.53 kB / 1.285 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/1.096, allocations: 37.06 kB / 1.285 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/1.096, allocations: 10.66 kB / 1.285 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/1.096, allocations: 108.9 kB / 1.285 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/1.096, allocations: 14.73 kB / 1.285 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/1.096, allocations: 36.52 kB / 1.285 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/1.096, allocations: 137.4 kB / 1.285 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.096, allocations: 0 / 1.285 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.096, allocations: 1.406 kB / 1.285 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.979e-06/1.096, allocations: 0 / 1.285 GB, free: 3.281 MB / 0.9981 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.0006851/1.097, allocations: 422.4 kB / 1.285 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.097, allocations: 10.23 kB / 1.285 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/1.097, allocations: 36.86 kB / 1.285 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/1.097, allocations: 9.484 kB / 1.285 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.097, allocations: 176.3 kB / 1.286 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/1.097, allocations: 3.906 kB / 1.286 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.097, allocations: 8.312 kB / 1.286 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.097, allocations: 67.95 kB / 1.286 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.097, allocations: 1.312 kB / 1.286 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.097, allocations: 0.7031 kB / 1.286 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.097, allocations: 5.312 kB / 1.286 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/1.098, allocations: 35.5 kB / 1.286 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/1.098, allocations: 317.7 kB / 1.286 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/1.098, allocations: 43.33 kB / 1.286 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/1.098, allocations: 37.97 kB / 1.286 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/1.098, allocations: 1.984 kB / 1.286 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/1.099, allocations: 84.47 kB / 1.286 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.099, allocations: 1.156 kB / 1.286 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003837/1.099, allocations: 137.9 kB / 1.286 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.099, allocations: 57.55 kB / 1.286 GB, free: 2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.099, allocations: 122.8 kB / 1.286 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.099, allocations: 30.73 kB / 1.286 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/1.099, allocations: 88.08 kB / 1.287 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.099, allocations: 16.53 kB / 1.287 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/1.099, allocations: 24.91 kB / 1.287 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.1, allocations: 323.8 kB / 1.287 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/1.1, allocations: 32.31 kB / 1.287 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/1.1, allocations: 50.78 kB / 1.287 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/1.1, allocations: 78.25 kB / 1.287 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.1, allocations: 0 / 1.287 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/1.1, allocations: 123.7 kB / 1.287 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.1, allocations: 5.875 kB / 1.287 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.1, allocations: 144 / 1.287 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.1, allocations: 7.266 kB / 1.287 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/1.1, allocations: 11.48 kB / 1.287 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.1, allocations: 5.453 kB / 1.287 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/1.1, allocations: 13.3 kB / 1.287 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/1.1, allocations: 4.641 kB / 1.287 GB, free: 1.234 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001053/1.1, allocations: 128.2 kB / 1.287 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/1.1, allocations: 6.828 kB / 1.287 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/1.101, allocations: 15.09 kB / 1.287 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.101, allocations: 1.375 kB / 1.287 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.101, allocations: 1.281 kB / 1.287 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.101, allocations: 0.75 kB / 1.287 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/1.101, allocations: 387 kB / 1.288 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.101, allocations: 0 / 1.288 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/1.101, allocations: 9.281 kB / 1.288 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.101, allocations: 0.7031 kB / 1.288 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.101, allocations: 1.828 kB / 1.288 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.101, allocations: 5.844 kB / 1.288 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.101, allocations: 0 / 1.288 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/1.101, allocations: 217.2 kB / 1.288 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/1.101, allocations: 78.67 kB / 1.288 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/1.101, allocations: 0.6094 kB / 1.288 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/1.102, allocations: 9.422 kB / 1.288 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/1.102, allocations: 8.484 kB / 1.288 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.102, allocations: 2.812 kB / 1.288 GB, free: 480 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.183e-05/1.102, allocations: 97.3 kB / 1.288 GB, free: 396 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 3.938 kB / 1.288 GB, free: 392 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003043/1.102, allocations: 41.39 kB / 1.288 GB, free: 380 kB / 0.9981 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,occ.y,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.0009065/1.103, allocations: 0.804 MB / 1.289 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002339/1.103, allocations: 74.52 kB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.103, allocations: 3.938 kB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/1.103, allocations: 30.98 kB / 1.289 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/1.103, allocations: 10.05 kB / 1.289 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/1.105, allocations: 1.514 MB / 1.291 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/1.106, allocations: 0.6874 MB / 1.291 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.298e-05/1.106, allocations: 13.09 kB / 1.291 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/1.106, allocations: 24.92 kB / 1.291 GB, free: 13.55 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.106, allocations: 0 / 1.291 GB, free: 13.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/1.134, allocations: 2.652 MB / 1.294 GB, free: 13.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.979, allocations: 11.05 kB / 1.294 GB, free: 13.08 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed