Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 175.2 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008317/0.0008318, allocations: 85.42 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.568e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1804, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6717/0.8521, allocations: 137.3 MB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004749/0.8526, allocations: 90.02 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.874, allocations: 7.646 MB / 1.027 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8741, allocations: 0 / 1.027 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.8741, allocations: 4 kB / 1.027 GB, free: 9.992 MB / 0.6511 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.0006057/0.8747, allocations: 0.497 MB / 1.027 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.8748, allocations: 11.97 kB / 1.027 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.8748, allocations: 19.72 kB / 1.027 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.8754, allocations: 328.4 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/0.8755, allocations: 63.39 kB / 1.028 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.8755, allocations: 4 kB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000175/0.8757, allocations: 94.72 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.8758, allocations: 77.31 kB / 1.028 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8758, allocations: 4 kB / 1.028 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8759, allocations: 0 / 1.028 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8759, allocations: 3.938 kB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.8761, allocations: 226.9 kB / 1.028 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.8774, allocations: 328.2 kB / 1.028 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.8775, allocations: 52.27 kB / 1.029 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.8776, allocations: 101.1 kB / 1.029 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.8776, allocations: 34.56 kB / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.8776, allocations: 0 / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003325/0.878, allocations: 155.2 kB / 1.029 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.878, allocations: 51.41 kB / 1.029 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.8782, allocations: 248.7 kB / 1.029 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.8783, allocations: 25.7 kB / 1.029 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.8783, allocations: 122 kB / 1.029 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.8784, allocations: 27.42 kB / 1.029 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.8784, allocations: 0 / 1.029 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8785, allocations: 330.2 kB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.8786, allocations: 126.8 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.8788, allocations: 131.8 kB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.8793, allocations: 242.8 kB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8793, allocations: 0 / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007043/0.88, allocations: 444.4 kB / 1.03 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.88, allocations: 5.875 kB / 1.03 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8801, allocations: 12.06 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.8801, allocations: 0 / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.8802, allocations: 16 kB / 1.031 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8802, allocations: 3.984 kB / 1.031 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.8803, allocations: 39.08 kB / 1.031 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.8804, allocations: 8 kB / 1.031 GB, free: 6.426 MB / 0.6511 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 () * 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 7.305e-05/0.8804, allocations: 101 kB / 1.031 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.8805, allocations: 31.61 kB / 1.031 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.8808, allocations: 193.2 kB / 1.031 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8808, allocations: 0 / 1.031 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8809, allocations: 0 / 1.031 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8809, allocations: 0 / 1.031 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.881, allocations: 209.5 kB / 1.031 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8811, allocations: 0 / 1.031 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.8812, allocations: 19.98 kB / 1.031 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8812, allocations: 3.938 kB / 1.031 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8812, allocations: 11.95 kB / 1.031 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8812, allocations: 0 / 1.031 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8812, allocations: 0 / 1.031 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8815, allocations: 180.5 kB / 1.031 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.8816, allocations: 108.8 kB / 1.031 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.8816, allocations: 0 / 1.031 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.8817, allocations: 10.95 kB / 1.031 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.8818, allocations: 11.98 kB / 1.031 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.8818, allocations: 8.188 kB / 1.031 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001354/0.8819, allocations: 181.9 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8819, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003674/0.8823, allocations: 127.2 kB / 1.032 GB, free: 5.254 MB / 0.6511 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 () * 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.0004015/0.8827, allocations: 235.7 kB / 1.032 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.8831, allocations: 337.2 kB / 1.032 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8831, allocations: 4 kB / 1.032 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.8831, allocations: 46.61 kB / 1.032 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.8834, allocations: 30.62 kB / 1.032 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.8838, allocations: 236.8 kB / 1.033 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.884, allocations: 0.7435 MB / 1.033 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.931e-05/0.8841, allocations: 25.08 kB / 1.033 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.8842, allocations: 11.44 kB / 1.033 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.8842, allocations: 7.938 kB / 1.033 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of Templates: time 0.005938/0.8901, allocations: 3.047 MB / 1.036 GB, free: 0.6523 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches