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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001332/0.001332, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009075/0.009075, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8.281 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7026, allocations: 153.8 MB / 1.023 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001829/0.7045, allocations: 1.381 MB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.7065, allocations: 1.386 MB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.7066, allocations: 7.938 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.707, allocations: 75.66 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.7071, allocations: 71.56 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.7078, allocations: 235.2 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.708, allocations: 255.1 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.7081, allocations: 21.39 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.7082, allocations: 71.66 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.7083, allocations: 91.59 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.7084, allocations: 8 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.7089, allocations: 359.4 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.709, allocations: 63.8 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.7091, allocations: 113.2 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.7095, allocations: 398.9 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7096, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7096, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7096, allocations: 0 / 1.027 GB, free: 11.57 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.0007953/0.7104, allocations: 0.5296 MB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7104, allocations: 12.03 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.7105, allocations: 24.66 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.7108, allocations: 271.6 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.711, allocations: 59.97 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.711, allocations: 12.38 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.7112, allocations: 97.7 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7112, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7112, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7112, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.7115, allocations: 107.9 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.7117, allocations: 253.5 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.7131, allocations: 334.4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.7132, allocations: 68.77 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.7134, allocations: 101 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.7134, allocations: 38.5 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.7134, allocations: 0 / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004665/0.7139, allocations: 213.3 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7139, allocations: 51.41 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.7142, allocations: 295.2 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.7142, allocations: 33.69 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.7143, allocations: 116.5 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7143, allocations: 27.72 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.7144, allocations: 45.7 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7145, allocations: 338.8 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.7147, allocations: 159.9 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.7149, allocations: 155.9 kB / 1.031 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.7153, allocations: 305.4 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7153, allocations: 0 / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005455/0.7159, allocations: 404.8 kB / 1.031 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7159, allocations: 4 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.7159, allocations: 7.984 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.716, allocations: 3.984 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.7161, allocations: 15.94 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7161, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.7162, allocations: 39.52 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.7162, allocations: 8 kB / 1.031 GB, free: 7.266 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.0001177/0.7163, allocations: 126.4 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.7164, allocations: 23.66 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.7167, allocations: 167.5 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7168, allocations: 4.312 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7168, allocations: 3.984 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7168, allocations: 0 / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.717, allocations: 241.5 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.717, allocations: 3.938 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.7171, allocations: 15.94 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7171, allocations: 0 / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.7171, allocations: 8 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7172, allocations: 4 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7172, allocations: 4.141 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.7175, allocations: 176.8 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.7176, allocations: 116.7 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.7176, allocations: 3.938 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.7177, allocations: 11.98 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.7177, allocations: 0 / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.7178, allocations: 4 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001646/0.7179, allocations: 205.9 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7179, allocations: 0 / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004055/0.7183, allocations: 112 kB / 1.033 GB, free: 5.957 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.0005172/0.7189, allocations: 270.9 kB / 1.033 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.7194, allocations: 363.2 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7194, allocations: 4 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.7195, allocations: 63.91 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.7199, allocations: 38.41 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.7205, allocations: 455.1 kB / 1.034 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.7208, allocations: 0.736 MB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.273e-05/0.7209, allocations: 17.08 kB / 1.034 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.7209, allocations: 15.44 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7209, allocations: 0 / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.006442/0.7274, allocations: 2.997 MB / 1.037 GB, free: 0.9844 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches