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.264/2.264, allocations: 390.5 MB / 398 MB, free: 10.98 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.001178/0.001178, allocations: 184 kB / 491.2 MB, free: 1.582 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.402/1.402, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008703/0.0008703, allocations: 97.77 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.693e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9362/1.2, allocations: 154.8 MB / 1.363 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.2, allocations: 92.97 kB / 1.364 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02025/1.221, allocations: 7.789 MB / 1.371 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.221, allocations: 3.906 kB / 1.371 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.221, allocations: 3.938 kB / 1.371 GB, free: 32.81 MB / 0.8386 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.0005214/1.221, allocations: 0.5029 MB / 1.372 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/1.221, allocations: 7.875 kB / 1.372 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/1.221, allocations: 23.25 kB / 1.372 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/1.222, allocations: 325.8 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/1.222, allocations: 66.06 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/1.222, allocations: 3.938 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001542/1.222, allocations: 94.88 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.222, allocations: 83.34 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.222, allocations: 0 / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/1.222, allocations: 0 / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/1.222, allocations: 0 / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/1.223, allocations: 225 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.224, allocations: 330 kB / 1.373 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/1.224, allocations: 50.23 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/1.224, allocations: 106.3 kB / 1.373 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/1.224, allocations: 41.16 kB / 1.373 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/1.224, allocations: 0 / 1.373 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000313/1.224, allocations: 146 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.548e-05/1.224, allocations: 51.41 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/1.225, allocations: 252.3 kB / 1.373 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.225, allocations: 25.7 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/1.225, allocations: 122 kB / 1.374 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/1.225, allocations: 25.69 kB / 1.374 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/1.225, allocations: 4 kB / 1.374 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/1.225, allocations: 334.9 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/1.225, allocations: 125.6 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/1.225, allocations: 125.5 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/1.226, allocations: 244.8 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.226, allocations: 0 / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006481/1.226, allocations: 440.1 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/1.226, allocations: 3.812 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.226, allocations: 6.578 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.226, allocations: 4 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/1.226, allocations: 17.84 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.226, allocations: 4.141 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.226, allocations: 34.22 kB / 1.375 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.226, allocations: 11.09 kB / 1.375 GB, free: 30.9 MB / 0.8386 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 6.96e-05/1.227, allocations: 104.9 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/1.227, allocations: 23.31 kB / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/1.227, allocations: 197.4 kB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.227, allocations: 3.984 kB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.227, allocations: 0 / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.227, allocations: 0 / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/1.227, allocations: 203 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.227, allocations: 3.328 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/1.227, allocations: 19.03 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.227, allocations: 7.828 kB / 1.375 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.227, allocations: 4 kB / 1.375 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/1.227, allocations: 3.938 kB / 1.375 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.227, allocations: 0 / 1.375 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/1.227, allocations: 178.9 kB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/1.228, allocations: 111.2 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.228, allocations: 3.953 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/1.228, allocations: 7.203 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/1.228, allocations: 14.44 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.228, allocations: 7.688 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001301/1.228, allocations: 178.9 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.228, allocations: 0 / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003637/1.228, allocations: 119.3 kB / 1.376 GB, free: 30.27 MB / 0.8386 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.0003463/1.229, allocations: 239.7 kB / 1.376 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002776/1.229, allocations: 342.7 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.229, allocations: 4 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/1.229, allocations: 44.33 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/1.229, allocations: 37.45 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/1.23, allocations: 232.4 kB / 1.377 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/1.23, allocations: 0.7458 MB / 1.378 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.978e-05/1.23, allocations: 15.78 kB / 1.378 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/1.23, allocations: 15.28 kB / 1.378 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.23, allocations: 4 kB / 1.378 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.00533/1.235, allocations: 3.041 MB / 1.381 GB, free: 29 MB / 0.8386 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