Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0008754/0.0008755, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6896, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001691/0.6913, allocations: 1.303 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.6932, allocations: 1.258 MB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.6934, allocations: 7.938 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.6937, allocations: 75.64 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.6938, allocations: 47.89 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.6944, allocations: 211.5 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.6946, allocations: 107.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.6946, allocations: 17.47 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.6948, allocations: 75.69 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.6949, allocations: 67.75 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.6949, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.6954, allocations: 267.6 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.6954, allocations: 63.81 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.6955, allocations: 57.58 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.6958, allocations: 263.4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.6958, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6958, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.6959, allocations: 4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008084/0.6967, allocations: 0.5334 MB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6967, allocations: 11.98 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.6968, allocations: 19.72 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.6972, allocations: 270.5 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.6973, allocations: 63.41 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.6973, allocations: 7.953 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6975, allocations: 93.58 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6975, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6975, allocations: 4 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6976, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.6978, allocations: 103.9 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.6981, allocations: 257.3 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.6994, allocations: 330.4 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.6996, allocations: 105 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.6996, allocations: 38.64 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6996, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004844/0.7001, allocations: 217.3 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.7001, allocations: 51.41 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.7004, allocations: 299.1 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.7004, allocations: 25.7 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.7005, allocations: 124.6 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.7005, allocations: 23.66 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.7006, allocations: 4 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7007, allocations: 338.8 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.7009, allocations: 151.9 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.7011, allocations: 167.9 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.7014, allocations: 171.9 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7014, allocations: 0 / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005926/0.702, allocations: 393.1 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.702, allocations: 4 kB / 1.028 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.702, allocations: 15.94 kB / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7021, allocations: 0 / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.7022, allocations: 12 kB / 1.028 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.7022, allocations: 4.141 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.7023, allocations: 39.52 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.7023, allocations: 4 kB / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.7025, allocations: 129.8 kB / 1.028 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.7025, allocations: 23.72 kB / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.7029, allocations: 167.7 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7029, allocations: 7.953 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7029, allocations: 4.062 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.703, allocations: 7.984 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.7032, allocations: 229.6 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7032, allocations: 3.984 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.7033, allocations: 12 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.7033, allocations: 0 / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.7033, allocations: 7.938 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7033, allocations: 4 kB / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.7033, allocations: 7.938 kB / 1.029 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.7036, allocations: 188.8 kB / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.7037, allocations: 104.8 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.7038, allocations: 0 / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.7039, allocations: 11.98 kB / 1.029 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.7039, allocations: 7.953 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.7039, allocations: 4 kB / 1.029 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001879/0.7041, allocations: 197.9 kB / 1.029 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7041, allocations: 0 / 1.029 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000446/0.7046, allocations: 111.9 kB / 1.029 GB, free: 7.918 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004195/0.705, allocations: 191 kB / 1.03 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005126/0.7055, allocations: 359.3 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7056, allocations: 4 kB / 1.03 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7057, allocations: 55.97 kB / 1.03 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.706, allocations: 36.58 kB / 1.03 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.7067, allocations: 439.4 kB / 1.03 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.7071, allocations: 0.7399 MB / 1.031 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.7072, allocations: 21.02 kB / 1.031 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.7072, allocations: 19.38 kB / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.7073, allocations: 0 / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.007025/0.7143, allocations: 2.885 MB / 1.034 GB, free: 3.156 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches