Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001095/0.001094, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007797/0.007797, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.372/2.372, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5046, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001521/0.5062, allocations: 1.219 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.5073, allocations: 0.7169 MB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.5074, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.5074, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.5075, allocations: 11.81 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.5079, allocations: 115.8 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.508, allocations: 67.83 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.5081, allocations: 12 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.5082, allocations: 27.91 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.5082, allocations: 39.77 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.5083, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.5084, allocations: 91.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.5085, allocations: 19.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.5085, allocations: 53.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.5087, allocations: 133.9 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5087, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5088, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5088, allocations: 0 / 1.026 GB, free: 13.33 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.0005091/0.5093, allocations: 413 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5093, allocations: 12.03 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.5094, allocations: 34.75 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.5094, allocations: 8.844 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.5095, allocations: 172.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5095, allocations: 12.36 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.5095, allocations: 4.375 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.5097, allocations: 69.59 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.5097, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.5098, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5098, allocations: 7.984 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.5099, allocations: 47.97 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.5105, allocations: 324.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5106, allocations: 54.5 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.5107, allocations: 36.97 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5107, allocations: 4.062 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.5109, allocations: 79.38 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.5109, allocations: 3.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.5113, allocations: 145.6 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5113, allocations: 59.41 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.5114, allocations: 117.8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5114, allocations: 33.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.5115, allocations: 88.12 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5115, allocations: 19.8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.5116, allocations: 17.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.5117, allocations: 318.8 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.5118, allocations: 35.98 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.5119, allocations: 54.92 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.512, allocations: 82.8 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.512, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002464/0.5123, allocations: 121.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5123, allocations: 7.984 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5123, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.5123, allocations: 3.938 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.5124, allocations: 20 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5124, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.5125, allocations: 11.92 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5125, allocations: 7.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 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 9.08e-05/0.5126, allocations: 121.7 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.5126, allocations: 11.84 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.5127, allocations: 12.36 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5127, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5127, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5127, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.5131, allocations: 390.4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5131, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.5132, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5132, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5132, allocations: 7.984 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5132, allocations: 7.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5132, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.5135, allocations: 215.4 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.5135, allocations: 85.02 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5136, allocations: 4 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.5137, allocations: 11.92 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.5137, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5137, allocations: 7.984 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.5138, allocations: 95.27 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5138, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002788/0.5141, allocations: 36 kB / 1.029 GB, free: 9.598 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,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.0007099/0.5148, allocations: 0.8131 MB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.515, allocations: 76.28 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.515, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5151, allocations: 43.91 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.5154, allocations: 11.88 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.5168, allocations: 1.518 MB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.5171, allocations: 0.6926 MB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.5171, allocations: 4 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.5172, allocations: 23.42 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5172, allocations: 0 / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.528, allocations: 2.313 MB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.5282, allocations: 262.5 kB / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.091, allocations: 0 / 1.034 GB, free: 3.84 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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