Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008106/0.0008107, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 176 kB / 16.92 MB, free: 6.652 MB / 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.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6407, allocations: 153.8 MB / 1.024 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001639/0.6424, allocations: 1.381 MB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.6443, allocations: 1.382 MB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.6444, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.6448, allocations: 83.59 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.6449, allocations: 67.64 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.6455, allocations: 223.5 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.6457, allocations: 255.1 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.6458, allocations: 21.45 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.6459, allocations: 79.64 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.646, allocations: 91.61 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.6461, allocations: 8 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.6465, allocations: 355.4 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.6466, allocations: 63.8 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.6467, allocations: 121.2 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.6471, allocations: 263.4 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6471, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6471, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6471, allocations: 4 kB / 1.028 GB, free: 11.39 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.0007737/0.6479, allocations: 0.5296 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6479, allocations: 12.03 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.648, allocations: 20.66 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.6483, allocations: 287.5 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.6485, allocations: 63.97 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.6485, allocations: 384 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.6487, allocations: 93.78 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6487, allocations: 3.984 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6488, allocations: 4 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6488, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.649, allocations: 103.9 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.6493, allocations: 257.5 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.6507, allocations: 334.3 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.6509, allocations: 60.83 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.6511, allocations: 105 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.6511, allocations: 38.5 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.6511, allocations: 0 / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005066/0.6516, allocations: 209.3 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6517, allocations: 55.41 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.652, allocations: 307 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.652, allocations: 29.7 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.6521, allocations: 124.5 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.6521, allocations: 11.81 kB / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.6522, allocations: 49.69 kB / 1.031 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6523, allocations: 330.8 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6526, allocations: 159.9 kB / 1.031 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.6528, allocations: 159.9 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.6532, allocations: 297.4 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6532, allocations: 7.984 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005658/0.6538, allocations: 400.8 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6538, allocations: 4 kB / 1.032 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.6539, allocations: 11.98 kB / 1.032 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6539, allocations: 3.938 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.654, allocations: 15.94 kB / 1.032 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.654, allocations: 0 / 1.032 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6541, allocations: 43.52 kB / 1.032 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6541, allocations: 0 / 1.032 GB, free: 7.078 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.6542, allocations: 130.4 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.6543, allocations: 27.66 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.6546, allocations: 171.4 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6547, allocations: 0 / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6547, allocations: 3.984 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6547, allocations: 0 / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.6549, allocations: 237.5 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6549, allocations: 0 / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.655, allocations: 15.94 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.655, allocations: 4 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.655, allocations: 4 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.655, allocations: 0 / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.655, allocations: 3.984 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.6553, allocations: 189.1 kB / 1.033 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.6554, allocations: 116.6 kB / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.6554, allocations: 7.922 kB / 1.033 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.6555, allocations: 7.984 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.6556, allocations: 8 kB / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.6556, allocations: 0 / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001698/0.6558, allocations: 201.9 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6558, allocations: 0 / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003799/0.6562, allocations: 112 kB / 1.033 GB, free: 5.762 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 (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.0004776/0.6566, allocations: 259 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.6571, allocations: 363.3 kB / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.6572, allocations: 0 / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6573, allocations: 71.84 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.6576, allocations: 29.95 kB / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.6582, allocations: 482.9 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6585, allocations: 0.7399 MB / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.6585, allocations: 19.44 kB / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6585, allocations: 0 / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.005227/0.6638, allocations: 3.142 MB / 1.038 GB, free: 0.625 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time