Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_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.001409/0.001409, 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.001699/0.001699, allocations: 195 kB / 16.14 MB, free: 6.648 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.271/2.271, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.445, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002278/0.4473, allocations: 1.562 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4483, allocations: 0.7479 MB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.4484, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.4484, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.4485, allocations: 7.875 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.4489, allocations: 107.8 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.4489, allocations: 71.77 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.449, allocations: 12 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.4491, allocations: 35.89 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.4492, allocations: 31.84 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.4492, allocations: 4 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4493, allocations: 95.84 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.4494, allocations: 19.91 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.4494, allocations: 27.86 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.4496, allocations: 141.9 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4496, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4496, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.4496, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 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.000524/0.4501, allocations: 417 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.4502, allocations: 8.031 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.4502, allocations: 38.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.4503, allocations: 8.844 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.4504, allocations: 176.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4504, allocations: 4.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4504, allocations: 4.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4506, allocations: 69.78 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4506, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4506, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.4506, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4507, allocations: 43.95 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.4513, allocations: 316.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4514, allocations: 50.55 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.4515, allocations: 36.91 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.4515, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.4516, allocations: 75.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4516, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003413/0.452, allocations: 141.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.452, allocations: 51.41 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.4521, allocations: 129.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4521, allocations: 25.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.4522, allocations: 88.14 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.4522, allocations: 15.81 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.4523, allocations: 29.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.4523, allocations: 322.8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.4524, allocations: 23.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.4525, allocations: 55.41 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4527, allocations: 83.34 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4527, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.4529, allocations: 125.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.4529, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4529, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.453, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.453, allocations: 15.98 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.4531, allocations: 320 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.4531, allocations: 15.84 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4532, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 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 7.588e-05/0.4532, allocations: 125.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4533, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.4533, allocations: 12.31 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4533, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4533, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4533, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4537, allocations: 386.4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4537, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.4538, allocations: 7.938 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4538, allocations: 3.984 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.4538, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4538, allocations: 3.938 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4538, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.454, allocations: 203.4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.4541, allocations: 93.03 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4541, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.4542, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.4542, allocations: 7.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4543, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.4543, allocations: 91.92 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4543, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002563/0.4546, allocations: 39.94 kB / 1.023 GB, free: 12.33 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,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.0006608/0.4552, allocations: 0.8088 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4554, allocations: 79.95 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4554, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.4555, allocations: 31.98 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.4558, allocations: 11.94 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4571, allocations: 1.505 MB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4573, allocations: 0.6926 MB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.4574, allocations: 4 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.4574, allocations: 23.42 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4574, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.071/2.528, allocations: 2.42 MB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/2.528, allocations: 266.3 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/5.917, allocations: 3.938 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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