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.00211/0.00211, allocations: 108 kB / 15.61 MB, free: 152 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.002229/0.002229, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.752/2.752, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6593/0.6613, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002948/0.6643, allocations: 1.673 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.6664, allocations: 1.366 MB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.6665, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.6669, allocations: 87.52 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.667, allocations: 75.52 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.6677, allocations: 278.7 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.668, allocations: 191.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.668, allocations: 17.47 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.6682, allocations: 75.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.6683, allocations: 87.59 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.6683, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.6689, allocations: 335.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.669, allocations: 71.78 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.6691, allocations: 91.47 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.6696, allocations: 394.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6696, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6696, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.6696, allocations: 0 / 1.022 GB, free: 13.79 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.0009167/0.6706, allocations: 0.5529 MB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.6706, allocations: 16.03 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.6707, allocations: 20.66 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.6711, allocations: 275.6 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6712, allocations: 63.95 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.6712, allocations: 4.375 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.6715, allocations: 97.78 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6715, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6715, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6715, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.6718, allocations: 99.92 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.6721, allocations: 253.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.6735, allocations: 294.4 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.6736, allocations: 56.83 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.6738, allocations: 101.1 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6738, allocations: 46.44 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6738, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005077/0.6743, allocations: 201.3 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.6744, allocations: 51.41 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.6747, allocations: 307.1 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.6747, allocations: 33.64 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.6748, allocations: 124.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.6749, allocations: 15.72 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.675, allocations: 57.69 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6751, allocations: 338.8 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6754, allocations: 151.9 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.6756, allocations: 159.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.676, allocations: 297.4 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.676, allocations: 0 / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006088/0.6767, allocations: 400.8 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6767, allocations: 10.03 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6767, allocations: 0 / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6767, allocations: 3.984 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.6768, allocations: 12 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6768, allocations: 0 / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.677, allocations: 35.52 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.677, allocations: 8 kB / 1.026 GB, free: 9.523 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.000114/0.6771, allocations: 129.8 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.6771, allocations: 35.58 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.6775, allocations: 167.4 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6775, allocations: 4 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6775, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6775, allocations: 3.984 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.6778, allocations: 237.8 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6778, allocations: 0 / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.6779, allocations: 23.92 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6779, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6779, allocations: 3.938 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6779, allocations: 4 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6779, allocations: 0 / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.6783, allocations: 180.8 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.6784, allocations: 108.8 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.6784, allocations: 0 / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.6785, allocations: 11.98 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.6785, allocations: 8 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.6785, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001856/0.6787, allocations: 205.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 0 / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000368/0.6791, allocations: 104 kB / 1.027 GB, free: 8.219 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.0005007/0.6796, allocations: 274.9 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.6802, allocations: 355.3 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6802, allocations: 0 / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6803, allocations: 63.91 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.6806, allocations: 37.08 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.6813, allocations: 396.2 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.6816, allocations: 0.7395 MB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.823e-05/0.6817, allocations: 21.06 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.6818, allocations: 19.44 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.6818, allocations: 0 / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.007089/0.6889, allocations: 3.151 MB / 1.032 GB, free: 3.152 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