Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.002139/0.002139, allocations: 111.3 kB / 15.34 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.01903/0.01903, allocations: 189.6 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.843/2.843, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.923/4.923, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002412, allocations: 67.61 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4906, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.005268/0.496, allocations: 1.657 MB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.4982, allocations: 0.7717 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.4984, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.65e-05/0.4984, allocations: 7.938 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.5022, allocations: 15.84 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.5033, allocations: 127.7 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.5036, allocations: 135.6 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.5038, allocations: 23.97 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.504, allocations: 63.77 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.5042, allocations: 67.78 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.5042, allocations: 12 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.5046, allocations: 103.8 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.5046, allocations: 23.97 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.5048, allocations: 59.7 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.5053, allocations: 191.7 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5053, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5053, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.5053, allocations: 4 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001176/0.5065, allocations: 486.4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.5066, allocations: 12.62 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.5067, allocations: 30.75 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.5068, allocations: 12.84 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.507, allocations: 192.6 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.507, allocations: 4.375 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.5071, allocations: 7.938 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.5075, allocations: 109.5 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5076, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.5076, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.5076, allocations: 3.984 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.508, allocations: 63.95 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.5094, allocations: 364.6 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.5098, allocations: 70.48 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.51, allocations: 52.83 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.5101, allocations: 8 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.5106, allocations: 99.5 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.955e-06/0.5106, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001063/0.5117, allocations: 217.3 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.5118, allocations: 55.39 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.512, allocations: 155.2 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.512, allocations: 25.7 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5122, allocations: 96.38 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.5122, allocations: 27.64 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.5123, allocations: 33.7 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5125, allocations: 318.8 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.5127, allocations: 39.92 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.5129, allocations: 80.25 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.5133, allocations: 116.2 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.5133, allocations: 112 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005548/0.5138, allocations: 157.3 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5139, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5139, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5139, allocations: 48 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5142, allocations: 27.91 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5142, allocations: 8.078 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.5144, allocations: 19.89 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5144, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001685/0.5146, allocations: 127.2 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.5147, allocations: 7.906 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.5147, allocations: 17.08 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5147, allocations: 3.938 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5148, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5148, allocations: 4 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5158, allocations: 458.3 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5159, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.516, allocations: 15.92 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.516, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.5161, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5161, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5161, allocations: 4 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.5169, allocations: 271.2 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.517, allocations: 88.95 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.5171, allocations: 0 / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5173, allocations: 11.98 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.5174, allocations: 8.047 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.5175, allocations: 12 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001235/0.5176, allocations: 113.4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5176, allocations: 0 / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005819/0.5182, allocations: 44 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001473/0.5197, allocations: 0.8678 MB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.5203, allocations: 111.9 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5203, allocations: 0 / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.5206, allocations: 68.12 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.5211, allocations: 15.92 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.5242, allocations: 1.723 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.5247, allocations: 0.6963 MB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.5248, allocations: 8.031 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.5249, allocations: 27.42 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.5249, allocations: 4 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06977/0.5947, allocations: 3.214 MB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004574/0.5952, allocations: 269.8 kB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/4.479, allocations: 3.938 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches