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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.11 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.01146/0.01146, allocations: 172.5 kB / 16.27 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.856/2.856, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 5.906 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3701, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002086/0.3722, allocations: 1.391 MB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3747, allocations: 1.395 MB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.3749, allocations: 3.938 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.3754, allocations: 79.64 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3756, allocations: 67.64 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.3764, allocations: 226.3 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3767, allocations: 259.1 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.3768, allocations: 5.5 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3769, allocations: 71.66 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3771, allocations: 99.59 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3771, allocations: 4 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.3777, allocations: 363.4 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.3778, allocations: 63.8 kB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3779, allocations: 113.2 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.3786, allocations: 398.8 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3786, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3786, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3786, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 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.0008956/0.3795, allocations: 0.5383 MB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3795, allocations: 8.031 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.3796, allocations: 24.66 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.38, allocations: 279.6 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3802, allocations: 63.95 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3802, allocations: 8.312 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3804, allocations: 93.78 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3805, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3805, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3805, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.3807, allocations: 103.9 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.381, allocations: 257.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3824, allocations: 346.3 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3826, allocations: 56.83 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.3827, allocations: 101.1 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3827, allocations: 42.48 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3828, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004897/0.3833, allocations: 213.3 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3833, allocations: 51.41 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.3836, allocations: 307 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3836, allocations: 25.7 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.3837, allocations: 120.5 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3838, allocations: 23.73 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.3838, allocations: 45.69 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.384, allocations: 338.8 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3842, allocations: 159.9 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3844, allocations: 151.9 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.3848, allocations: 301.6 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3848, allocations: 0 / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005659/0.3854, allocations: 404.8 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3854, allocations: 4 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3855, allocations: 8 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3855, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.3856, allocations: 23.92 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3856, allocations: 0 / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3857, allocations: 27.59 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3857, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8262 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.000113/0.3859, allocations: 133.8 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3859, allocations: 27.66 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.3863, allocations: 175.3 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3863, allocations: 4 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3863, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3863, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3865, allocations: 237.5 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3865, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.3866, allocations: 23.92 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3866, allocations: 0 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3867, allocations: 4 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3867, allocations: 0 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3867, allocations: 320 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.387, allocations: 184.8 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.3871, allocations: 112.7 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3871, allocations: 0 / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.3872, allocations: 8 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3873, allocations: 7.984 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3873, allocations: 11.88 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000179/0.3875, allocations: 197.9 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3875, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004033/0.3879, allocations: 111.9 kB / 1.068 GB, free: 11.35 MB / 0.8262 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.0005632/0.3885, allocations: 261 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.389, allocations: 367.2 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.389, allocations: 3.938 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3891, allocations: 67.91 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3894, allocations: 32.73 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.39, allocations: 453.2 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3904, allocations: 0.736 MB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.512e-05/0.3905, allocations: 21.06 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3905, allocations: 15.44 kB / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3905, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of Templates: time 0.006779/0.3973, allocations: 2.995 MB / 1.073 GB, free: 6.387 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches