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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000904/0.000904, allocations: 97.88 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.005121/0.005121, allocations: 171.7 kB / 16.27 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 462.7 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 9.781 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001448/0.2319, allocations: 1.311 MB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.233, allocations: 0.7713 MB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.233, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.2331, allocations: 3.938 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.2331, allocations: 19.86 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.2336, allocations: 123.7 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2337, allocations: 127.6 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.2338, allocations: 12 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.2339, allocations: 63.81 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.234, allocations: 63.78 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.234, allocations: 4 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2342, allocations: 99.84 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.2342, allocations: 19.91 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.2343, allocations: 77.41 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2345, allocations: 183.7 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2345, allocations: 0 / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2345, allocations: 0 / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2345, allocations: 0 / 1.062 GB, free: 1.918 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.0006019/0.2352, allocations: 470.5 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2352, allocations: 11.97 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.2352, allocations: 34.75 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.2353, allocations: 16.83 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2354, allocations: 184.6 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2354, allocations: 4.375 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2355, allocations: 15.94 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.2357, allocations: 105.5 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2357, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2357, allocations: 3.938 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2357, allocations: 4 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.236, allocations: 75.89 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.2367, allocations: 376.7 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2369, allocations: 74.55 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.237, allocations: 52.84 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2371, allocations: 7.938 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.2373, allocations: 107.2 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.2373, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005599/0.2379, allocations: 229.5 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2379, allocations: 55.56 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.238, allocations: 148.3 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2381, allocations: 25.7 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.2381, allocations: 104.3 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.2382, allocations: 27.66 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.2382, allocations: 21.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.2383, allocations: 322.8 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2384, allocations: 43.98 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2386, allocations: 84.2 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2388, allocations: 124.2 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2388, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003307/0.2391, allocations: 169.5 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2392, allocations: 4 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2392, allocations: 4.109 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2392, allocations: 3.938 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2393, allocations: 27.86 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2393, allocations: 0 / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2394, allocations: 15.89 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2395, allocations: 12.38 kB / 1.064 GB, free: 14.73 MB / 0.8262 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 8.175e-05/0.2396, allocations: 125.8 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.2396, allocations: 7.906 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.2396, allocations: 16.7 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2396, allocations: 7.875 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2396, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2396, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.2402, allocations: 474.3 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2402, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2403, allocations: 15.92 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2403, allocations: 4 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2403, allocations: 4 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2403, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2403, allocations: 4 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2407, allocations: 275.3 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.2408, allocations: 88.95 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2408, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2409, allocations: 11.98 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.241, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.241, allocations: 11.98 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.2411, allocations: 105.3 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2411, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002818/0.2414, allocations: 43.98 kB / 1.066 GB, free: 13.46 MB / 0.8262 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.0008088/0.2422, allocations: 0.8858 MB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.2425, allocations: 123.8 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2425, allocations: 4.188 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.2427, allocations: 63.91 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2429, allocations: 13.48 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.2447, allocations: 1.768 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2449, allocations: 0.6963 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.245, allocations: 7.984 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.245, allocations: 31.61 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.245, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2569, allocations: 3.017 MB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.2571, allocations: 268 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.929, allocations: 4 kB / 1.072 GB, free: 6.535 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