Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108 kB / 16.41 MB, free: 6.027 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.001598/0.001598, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8274, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003256/0.8307, allocations: 1.496 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.8323, allocations: 0.7243 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.8323, allocations: 5.094 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.8324, allocations: 5.25 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.8325, allocations: 10.03 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.8332, allocations: 129.6 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.8333, allocations: 77.14 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.8335, allocations: 15.47 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8336, allocations: 32.38 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.8337, allocations: 37.62 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.8337, allocations: 10.38 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.834, allocations: 98.47 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.8341, allocations: 19.59 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.8341, allocations: 31.28 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.8345, allocations: 145.7 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8345, allocations: 1.266 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8345, allocations: 0 / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8345, allocations: 0.75 kB / 1.091 GB, free: 3.707 MB / 0.8575 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.0006819/0.8352, allocations: 420.8 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8352, allocations: 13.47 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.8353, allocations: 8.734 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.8354, allocations: 170.2 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.8354, allocations: 6.344 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.8355, allocations: 5.203 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.8357, allocations: 67.69 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8357, allocations: 1.062 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.8357, allocations: 4.797 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.8358, allocations: 0.9062 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.8359, allocations: 48.02 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.8364, allocations: 317.5 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.8366, allocations: 46.47 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.8367, allocations: 35.02 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.8367, allocations: 1.594 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.8369, allocations: 77.11 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.8369, allocations: 0 / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000394/0.8373, allocations: 137.3 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.8374, allocations: 54.27 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.8375, allocations: 123.3 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.8375, allocations: 30.52 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.8375, allocations: 91.84 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.8375, allocations: 16.72 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.8376, allocations: 25.22 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.8376, allocations: 323.9 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.8377, allocations: 35.12 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.8378, allocations: 59.83 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.838, allocations: 78.12 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.838, allocations: 0.75 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002365/0.8382, allocations: 121.8 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8383, allocations: 6.172 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8383, allocations: 0.9688 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8383, allocations: 1.844 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.8384, allocations: 11.42 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.8384, allocations: 6.75 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.8385, allocations: 12.88 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.8385, allocations: 7.859 kB / 1.094 GB, free: 1.699 MB / 0.8575 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 6.562e-05/0.8386, allocations: 124.2 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.8386, allocations: 7.766 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.8386, allocations: 11.06 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8386, allocations: 0.9688 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8386, allocations: 0.75 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.8387, allocations: 0.9688 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.8391, allocations: 378.6 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8391, allocations: 4 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.8391, allocations: 5.391 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.8391, allocations: 1.938 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.8391, allocations: 0.75 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8391, allocations: 1.125 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8391, allocations: 4.734 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.8394, allocations: 211.4 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.8395, allocations: 84 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.8395, allocations: 5.516 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.8396, allocations: 12.28 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.8396, allocations: 13.2 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.8396, allocations: 2.953 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.8397, allocations: 96.55 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8397, allocations: 0 / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003225/0.84, allocations: 46.02 kB / 1.095 GB, free: 0.8398 MB / 0.8575 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.0003184/0.8403, allocations: 159.9 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.8406, allocations: 72.3 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8406, allocations: 0.9062 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.8407, allocations: 33.88 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.8409, allocations: 12.78 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.8413, allocations: 206.3 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.8415, allocations: 0.6874 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.8415, allocations: 15.64 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8415, allocations: 0 / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.004844/0.8464, allocations: 1.626 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches