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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 180 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008669/0.000867, allocations: 92.27 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 10.28 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.4862, allocations: 155.5 MB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4865, allocations: 88.02 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.5097, allocations: 7.91 MB / 1.389 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5097, allocations: 0 / 1.389 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5097, allocations: 4 kB / 1.389 GB, free: 5.969 MB / 0.8855 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.001018/0.5108, allocations: 0.557 MB / 1.389 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5108, allocations: 8.562 kB / 1.389 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.5109, allocations: 19.72 kB / 1.389 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.5116, allocations: 334.2 kB / 1.39 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.5117, allocations: 71.39 kB / 1.39 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.5118, allocations: 4 kB / 1.39 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.512, allocations: 93.61 kB / 1.39 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.512, allocations: 0 / 1.39 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.5121, allocations: 4 kB / 1.39 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5121, allocations: 0 / 1.39 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.5124, allocations: 119.9 kB / 1.39 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.5127, allocations: 237.4 kB / 1.39 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5143, allocations: 358.2 kB / 1.391 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.5145, allocations: 97.08 kB / 1.391 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5145, allocations: 42.55 kB / 1.391 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.5145, allocations: 0 / 1.391 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0005725/0.5151, allocations: 225.4 kB / 1.391 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5151, allocations: 59.34 kB / 1.391 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.5154, allocations: 266.2 kB / 1.391 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.5155, allocations: 37.64 kB / 1.391 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.5156, allocations: 116.6 kB / 1.391 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.5156, allocations: 23.64 kB / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.5156, allocations: 0 / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5158, allocations: 342.8 kB / 1.392 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.516, allocations: 143.9 kB / 1.392 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5162, allocations: 135.9 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5165, allocations: 152.8 kB / 1.392 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5165, allocations: 8 kB / 1.392 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005431/0.517, allocations: 353.2 kB / 1.393 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5171, allocations: 8 kB / 1.393 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5171, allocations: 0 / 1.393 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5171, allocations: 0 / 1.393 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5172, allocations: 27.92 kB / 1.393 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5172, allocations: 0 / 1.393 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.5174, allocations: 43.67 kB / 1.393 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.5174, allocations: 8 kB / 1.393 GB, free: 1.898 MB / 0.8855 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.0001186/0.5175, allocations: 133.8 kB / 1.393 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.5176, allocations: 19.72 kB / 1.393 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.5181, allocations: 211.5 kB / 1.393 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5181, allocations: 3.938 kB / 1.393 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5181, allocations: 0 / 1.393 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5181, allocations: 4 kB / 1.393 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.5183, allocations: 229.5 kB / 1.393 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5184, allocations: 0 / 1.393 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5185, allocations: 23.98 kB / 1.393 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5185, allocations: 0 / 1.393 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5185, allocations: 4 kB / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5185, allocations: 0 / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5185, allocations: 4 kB / 1.393 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.5189, allocations: 200.7 kB / 1.393 GB, free: 1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.5191, allocations: 112.8 kB / 1.394 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.5191, allocations: 0 / 1.394 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.5192, allocations: 4 kB / 1.394 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5192, allocations: 7.984 kB / 1.394 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.5193, allocations: 11.94 kB / 1.394 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001954/0.5195, allocations: 205.9 kB / 1.394 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5195, allocations: 0 / 1.394 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005392/0.52, allocations: 143.8 kB / 1.394 GB, free: 0.5078 MB / 0.8855 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.0005343/0.5206, allocations: 228.6 kB / 1.394 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.5212, allocations: 363.1 kB / 1.394 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5212, allocations: 0 / 1.394 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5214, allocations: 63.91 kB / 1.395 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5216, allocations: 32.62 kB / 1.395 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.5224, allocations: 451.1 kB / 1.395 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5228, allocations: 0.744 MB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.5229, allocations: 25 kB / 1.396 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.5229, allocations: 15.44 kB / 1.396 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.5229, allocations: 4 kB / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of Templates: time 0.00759/0.5305, allocations: 3.577 MB / 1.399 GB, free: 10.99 MB / 0.9011 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