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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001145/0.001145, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.00111/0.00111, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.94 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002999/0.3389, allocations: 1.683 MB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.341, allocations: 1.375 MB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3411, allocations: 4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.3416, allocations: 87.52 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3417, allocations: 75.58 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.3425, allocations: 271.2 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.3427, allocations: 195.1 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.3428, allocations: 9.5 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.3429, allocations: 75.75 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.343, allocations: 91.59 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.343, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.3435, allocations: 339.4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.3436, allocations: 67.73 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.3437, allocations: 99.39 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.3442, allocations: 398.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3443, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3443, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3443, allocations: 0 / 1.031 GB, free: 13.28 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.0009202/0.3452, allocations: 0.5452 MB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3452, allocations: 12.03 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.3453, allocations: 20.66 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3458, allocations: 283.6 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3459, allocations: 63.95 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3459, allocations: 384 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3461, allocations: 93.72 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3461, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3462, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3462, allocations: 3.984 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.3465, allocations: 95.94 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.3468, allocations: 257.3 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3481, allocations: 298.4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3483, allocations: 56.83 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.3484, allocations: 105 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3485, allocations: 38.5 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3485, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004743/0.3489, allocations: 205.3 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.349, allocations: 59.41 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3493, allocations: 299.1 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3493, allocations: 25.7 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3495, allocations: 120.6 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3495, allocations: 31.64 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.3496, allocations: 57.67 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3497, allocations: 330.8 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.3499, allocations: 155.9 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3501, allocations: 155.9 kB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.3506, allocations: 297.6 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3507, allocations: 0 / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005389/0.3512, allocations: 400.8 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3512, allocations: 8 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3513, allocations: 4 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3513, allocations: 3.984 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.3514, allocations: 19.98 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3514, allocations: 3.938 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3515, allocations: 35.47 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3515, allocations: 0 / 1.035 GB, free: 9.004 MB / 0.8106 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.0001328/0.3517, allocations: 137.8 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3517, allocations: 27.64 kB / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.3521, allocations: 163.5 kB / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3521, allocations: 0 / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3521, allocations: 0 / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3521, allocations: 0 / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3523, allocations: 229.6 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3524, allocations: 4 kB / 1.036 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.3525, allocations: 23.88 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3525, allocations: 0 / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3525, allocations: 7.984 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3525, allocations: 0 / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3525, allocations: 0 / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3529, allocations: 181.1 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.353, allocations: 108.8 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.353, allocations: 7.984 kB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.3531, allocations: 0 / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.3531, allocations: 4 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3531, allocations: 11.98 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001749/0.3533, allocations: 193.9 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.913e-06/0.3533, allocations: 0 / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000425/0.3538, allocations: 123.9 kB / 1.036 GB, free: 7.707 MB / 0.8106 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.0004867/0.3543, allocations: 255 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.3548, allocations: 359.3 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3548, allocations: 0 / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.355, allocations: 63.91 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3553, allocations: 28.58 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.356, allocations: 396.1 kB / 1.037 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3563, allocations: 0.7396 MB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.3564, allocations: 29.27 kB / 1.038 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.3565, allocations: 15.44 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3565, allocations: 0 / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.007127/0.3636, allocations: 3.141 MB / 1.041 GB, free: 2.676 MB / 0.8106 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 -s cvode -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/jenkins1/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