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.0008389/0.0008388, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004945/0.004945, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.16/1.16, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.413/2.413, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 12.28 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5126, allocations: 153.8 MB / 1.023 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001423/0.5141, allocations: 1.219 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.5151, allocations: 0.7169 MB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.5152, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.5152, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.5153, allocations: 11.86 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.5157, allocations: 103.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.5158, allocations: 75.77 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.5159, allocations: 7.984 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.5159, allocations: 35.92 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.516, allocations: 35.83 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.516, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.5162, allocations: 95.84 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.5162, allocations: 15.92 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.5163, allocations: 53.56 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.5165, allocations: 133.9 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5165, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5165, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.5165, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 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.0005034/0.517, allocations: 410.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5171, allocations: 12.03 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5171, allocations: 42.73 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.5171, allocations: 8.844 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.5172, allocations: 176.2 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.5173, allocations: 4.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.5173, allocations: 4.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.5175, allocations: 81.77 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.5175, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5175, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5175, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.5176, allocations: 43.97 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.5182, allocations: 328.6 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5183, allocations: 50.55 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.5184, allocations: 36.97 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5185, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.5186, allocations: 91.38 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5186, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003781/0.519, allocations: 145.6 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5191, allocations: 51.41 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.5192, allocations: 129.7 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5192, allocations: 25.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.5192, allocations: 92.14 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.5193, allocations: 11.8 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5193, allocations: 17.72 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5194, allocations: 330.8 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.5195, allocations: 27.98 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.5196, allocations: 51.42 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.5198, allocations: 95.33 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5198, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.52, allocations: 125.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5201, allocations: 11.98 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5201, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.5201, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.5202, allocations: 15.94 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5202, allocations: 3.984 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.5203, allocations: 7.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5203, allocations: 4 kB / 1.028 GB, free: 10.84 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 9.033e-05/0.5204, allocations: 134.3 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.5204, allocations: 3.906 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.5204, allocations: 12.36 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5204, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5204, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5204, allocations: 3.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.5209, allocations: 394.4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5209, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.5209, allocations: 8.062 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5209, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.521, allocations: 3.984 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.521, allocations: 3.938 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.521, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.5213, allocations: 215.4 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.5213, allocations: 85.02 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5213, allocations: 3.984 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.5214, allocations: 7.938 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.5215, allocations: 7.984 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5215, allocations: 8 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.5215, allocations: 95.27 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.874e-06/0.5215, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002761/0.5218, allocations: 43.88 kB / 1.029 GB, free: 9.723 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.0006887/0.5225, allocations: 0.8047 MB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.5227, allocations: 79.89 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5228, allocations: 4.125 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.5229, allocations: 35.98 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5231, allocations: 12.72 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.5246, allocations: 1.534 MB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.5248, allocations: 0.6848 MB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.5248, allocations: 7.984 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.5249, allocations: 15.44 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5249, allocations: 0 / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.5359, allocations: 2.332 MB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.5361, allocations: 261 kB / 1.035 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.221, allocations: 0 / 1.035 GB, free: 3.965 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