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.001083/0.001083, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006345/0.006346, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 3.084/3.084, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003812, allocations: 8 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8773, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002205/0.8796, allocations: 1.381 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.8822, allocations: 1.378 MB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.8824, allocations: 7.938 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.8829, allocations: 83.58 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.883, allocations: 63.66 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.8838, allocations: 231.4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.8841, allocations: 259.1 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.8841, allocations: 13.48 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.8843, allocations: 75.64 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.8845, allocations: 91.61 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.8845, allocations: 7.938 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.8851, allocations: 363.4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.8852, allocations: 67.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.8853, allocations: 113.2 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.8859, allocations: 394.9 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.886, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.79e-06/0.886, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.886, allocations: 0 / 1.027 GB, free: 11.29 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.0009895/0.887, allocations: 0.5335 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.8871, allocations: 12.03 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.8871, allocations: 20.66 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.8876, allocations: 283.6 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8877, allocations: 59.97 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.8877, allocations: 4.312 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.888, allocations: 93.77 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.888, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.888, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.888, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.8883, allocations: 103.9 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.8886, allocations: 249.5 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.8902, allocations: 338.3 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.8903, allocations: 60.83 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.8906, allocations: 101 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.8906, allocations: 34.5 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.8906, allocations: 0 / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006101/0.8912, allocations: 217.3 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.8913, allocations: 51.41 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.8917, allocations: 311.1 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.8917, allocations: 25.7 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.8919, allocations: 128.4 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.8919, allocations: 15.8 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.892, allocations: 49.62 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.8922, allocations: 334.8 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.8924, allocations: 155.9 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.8927, allocations: 159.9 kB / 1.031 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.8932, allocations: 301.4 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8932, allocations: 4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006452/0.8938, allocations: 397 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.8939, allocations: 8 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.8939, allocations: 0 / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8939, allocations: 0 / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.894, allocations: 23.92 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.894, allocations: 3.938 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.8942, allocations: 35.53 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.8942, allocations: 0 / 1.031 GB, free: 6.992 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.0001395/0.8943, allocations: 133.8 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.8944, allocations: 27.64 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.8948, allocations: 175.7 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8948, allocations: 0 / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.8948, allocations: 0 / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8948, allocations: 7.938 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.8951, allocations: 241.5 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8951, allocations: 0 / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.8952, allocations: 27.92 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8952, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.8952, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8952, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8952, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.8956, allocations: 184.8 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.8957, allocations: 116.7 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.8957, allocations: 0 / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.8958, allocations: 8 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.8959, allocations: 11.92 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.8959, allocations: 0 / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000218/0.8961, allocations: 201.9 kB / 1.032 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8961, allocations: 3.938 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004298/0.8966, allocations: 108 kB / 1.033 GB, free: 5.668 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.0005612/0.8971, allocations: 259.5 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.8978, allocations: 363.3 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8978, allocations: 0 / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.8979, allocations: 63.91 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.8983, allocations: 36.58 kB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.899, allocations: 453.2 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.8995, allocations: 0.7398 MB / 1.034 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000108/0.8996, allocations: 21.38 kB / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.8997, allocations: 15.44 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8997, allocations: 4 kB / 1.034 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of Templates: time 0.007579/0.9073, allocations: 2.996 MB / 1.037 GB, free: 0.7031 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=400 -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