Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 68.11 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8217, allocations: 168.7 MB / 1.269 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003753/0.8254, allocations: 1.514 MB / 1.27 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.8269, allocations: 0.7339 MB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.827, allocations: 0 / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.827, allocations: 7.922 kB / 1.271 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.8271, allocations: 11.88 kB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.8277, allocations: 119.6 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.8279, allocations: 83.7 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.828, allocations: 15.73 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.8281, allocations: 35.92 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.8282, allocations: 47.81 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.8282, allocations: 4 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.8285, allocations: 103.8 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.8285, allocations: 15.98 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.8286, allocations: 35.78 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.8289, allocations: 137.6 kB / 1.272 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8289, allocations: 0 / 1.272 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8289, allocations: 0 / 1.272 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8289, allocations: 0 / 1.272 GB, free: 2.375 MB / 0.9669 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.000723/0.8296, allocations: 428.7 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8297, allocations: 11.97 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.8297, allocations: 34.69 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.8297, allocations: 8.891 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.83, allocations: 172.3 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.83, allocations: 12.38 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.83, allocations: 4.375 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8302, allocations: 65.78 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8302, allocations: 0 / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.8302, allocations: 12 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8302, allocations: 0 / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.8304, allocations: 39.91 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.831, allocations: 316.7 kB / 1.273 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.8312, allocations: 50.48 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.8313, allocations: 28.97 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.8313, allocations: 4 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.8315, allocations: 79.31 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.8315, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.8319, allocations: 133.6 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.832, allocations: 59.41 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.8321, allocations: 129.7 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.8321, allocations: 25.7 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.8322, allocations: 92.2 kB / 1.273 GB, free: 496 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.8322, allocations: 15.91 kB / 1.273 GB, free: 480 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.8323, allocations: 29.7 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8324, allocations: 322.8 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.8325, allocations: 27.98 kB / 1.274 GB, free: 84 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.8326, allocations: 59.72 kB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.8328, allocations: 71.5 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8328, allocations: 3.938 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002691/0.8331, allocations: 121.5 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8331, allocations: 8 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8331, allocations: 0 / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8331, allocations: 0 / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.8332, allocations: 20.03 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8332, allocations: 0 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.8333, allocations: 11.92 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.8333, allocations: 4 kB / 1.274 GB, free: 15.75 MB / 0.9825 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.0001076/0.8334, allocations: 129.8 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.8335, allocations: 11.89 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.8335, allocations: 8.375 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8335, allocations: 0 / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8335, allocations: 4 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8335, allocations: 3.938 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.8341, allocations: 390.3 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8341, allocations: 4.062 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.8342, allocations: 7.984 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8342, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8342, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.8342, allocations: 3.938 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8342, allocations: 0 / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.8346, allocations: 203.9 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.8346, allocations: 85.05 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.8346, allocations: 8 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.8347, allocations: 3.938 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.8348, allocations: 11.92 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.8348, allocations: 4 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.822e-05/0.8349, allocations: 91.27 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8349, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003206/0.8352, allocations: 39.88 kB / 1.275 GB, free: 14.66 MB / 0.9825 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.0009136/0.8361, allocations: 0.8002 MB / 1.276 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.8364, allocations: 79.81 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8364, allocations: 0 / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.8365, allocations: 35.92 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.8367, allocations: 14.86 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.8386, allocations: 1.502 MB / 1.277 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.8389, allocations: 0.6923 MB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.839, allocations: 15.95 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.839, allocations: 27.42 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.839, allocations: 0 / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.8651, allocations: 2.657 MB / 1.28 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/9.024, allocations: 11.94 kB / 1.28 GB, free: 8.824 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.139722071122378]