Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9682/0.9682, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.383/2.383, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.49e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003476/0.003491, allocations: 1.932 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.005869, allocations: 1.866 MB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.00594, allocations: 3.938 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.006164, allocations: 27.72 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.006544, allocations: 131.2 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.006911, allocations: 175.4 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.007237, allocations: 297.3 kB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.007334, allocations: 33.83 kB / 0.8429 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03147/0.0388, allocations: 9.762 MB / 0.8525 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.03893, allocations: 83.77 kB / 0.8526 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.03896, allocations: 20 kB / 0.8526 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.0391, allocations: 71.91 kB / 0.8526 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.03918, allocations: 87.73 kB / 0.8527 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.03926, allocations: 91.67 kB / 0.8528 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.03958, allocations: 270.9 kB / 0.8531 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.03958, allocations: 0 / 0.8531 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.142e-06/0.03958, allocations: 0 / 0.8531 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.03958, allocations: 0 / 0.8531 GB, free: 2.746 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005194/0.0401, allocations: 476.5 kB / 0.8535 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.04014, allocations: 8.625 kB / 0.8535 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.04026, allocations: 44.84 kB / 0.8536 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.04049, allocations: 244.6 kB / 0.8538 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.0405, allocations: 20.73 kB / 0.8538 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.04053, allocations: 24.38 kB / 0.8539 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.04075, allocations: 291.2 kB / 0.8541 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.04077, allocations: 3.938 kB / 0.8541 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.04078, allocations: 8 kB / 0.8541 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.04079, allocations: 4 kB / 0.8541 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.0412, allocations: 486.4 kB / 0.8546 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.04176, allocations: 394.5 kB / 0.855 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.04194, allocations: 141.1 kB / 0.8551 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.04199, allocations: 49.73 kB / 0.8552 GB, free: 484 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.04202, allocations: 15.98 kB / 0.8552 GB, free: 468 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.04221, allocations: 179.7 kB / 0.8554 GB, free: 264 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 1.252e-06/0.04221, allocations: 0 / 0.8554 GB, free: 264 kB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.0002193/0.04243, allocations: 173.3 kB / 0.8555 GB, free: 84 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.04249, allocations: 114.8 kB / 0.8556 GB, free: 15.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.04261, allocations: 216.9 kB / 0.8558 GB, free: 15.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.04263, allocations: 33.7 kB / 0.8559 GB, free: 15.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.04267, allocations: 117.5 kB / 0.856 GB, free: 15.56 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.04274, allocations: 118.9 kB / 0.8561 GB, free: 15.45 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.04286, allocations: 69.64 kB / 0.8562 GB, free: 15.37 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.04294, allocations: 342.7 kB / 0.8565 GB, free: 15.03 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.04298, allocations: 31.73 kB / 0.8565 GB, free: 15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.04306, allocations: 117.9 kB / 0.8566 GB, free: 14.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.04317, allocations: 105.5 kB / 0.8567 GB, free: 14.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.04317, allocations: 0 / 0.8567 GB, free: 14.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001482/0.04332, allocations: 153 kB / 0.8569 GB, free: 14.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.04333, allocations: 4 kB / 0.8569 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.04334, allocations: 0 / 0.8569 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.04335, allocations: 4 kB / 0.8569 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.04348, allocations: 59.91 kB / 0.8569 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.04349, allocations: 4.031 kB / 0.8569 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.04355, allocations: 31.2 kB / 0.857 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.04356, allocations: 11.94 kB / 0.857 GB, free: 14.49 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.152e-05/0.04364, allocations: 136.5 kB / 0.8571 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.04367, allocations: 27.98 kB / 0.8571 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.04392, allocations: 226.1 kB / 0.8574 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.04393, allocations: 4 kB / 0.8574 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.04393, allocations: 0 / 0.8574 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.04393, allocations: 3.984 kB / 0.8574 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.04407, allocations: 173.5 kB / 0.8575 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.04408, allocations: 3.984 kB / 0.8575 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.04417, allocations: 51.92 kB / 0.8576 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.04417, allocations: 4 kB / 0.8576 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.04418, allocations: 11.98 kB / 0.8576 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.04418, allocations: 4 kB / 0.8576 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.04418, allocations: 0 / 0.8576 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.04434, allocations: 186.2 kB / 0.8578 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.04453, allocations: 55.73 kB / 0.8578 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.04455, allocations: 4 kB / 0.8578 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.04462, allocations: 23.97 kB / 0.8579 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.04465, allocations: 23.94 kB / 0.8579 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.04466, allocations: 12 kB / 0.8579 GB, free: 13.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.04471, allocations: 74.78 kB / 0.858 GB, free: 13.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.04471, allocations: 0 / 0.858 GB, free: 13.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001566/0.04487, allocations: 63.88 kB / 0.858 GB, free: 13.37 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008846/0.04575, allocations: 445.7 kB / 0.8585 GB, free: 13.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.04592, allocations: 124.6 kB / 0.8586 GB, free: 12.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.04592, allocations: 4 kB / 0.8586 GB, free: 12.99 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.04599, allocations: 76.55 kB / 0.8586 GB, free: 12.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.04613, allocations: 55.5 kB / 0.8587 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.04684, allocations: 460.9 kB / 0.8591 GB, free: 12.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.897e-05/0.04689, allocations: 98.12 kB / 0.8592 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.04701, allocations: 74.95 kB / 0.8593 GB, free: 12.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.04717, allocations: 139.2 kB / 0.8594 GB, free: 12.06 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.04717, allocations: 0 / 0.8594 GB, free: 12.06 MB / 0.823 GB Notification: Performance of Templates: time 0.005419/0.05258, allocations: 3.759 MB / 0.8631 GB, free: 8.352 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.310998620931059]