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.001639/0.00164, allocations: 101.9 kB / 16.36 MB, free: 6.469 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.001881/0.001881, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 442.5 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2771, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00261/0.2798, allocations: 1.686 MB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2816, allocations: 1.367 MB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.2817, allocations: 8 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.2821, allocations: 79.58 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.2822, allocations: 79.52 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.2829, allocations: 270.3 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.2831, allocations: 199.2 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.2832, allocations: 9.5 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2833, allocations: 75.69 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2834, allocations: 91.59 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2835, allocations: 8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.284, allocations: 331.4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.2841, allocations: 67.78 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.109e-05/0.2842, allocations: 95.41 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.2847, allocations: 402.8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2847, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2847, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2847, allocations: 0 / 1.031 GB, free: 13.3 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.0008528/0.2855, allocations: 0.5451 MB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.238e-05/0.2857, allocations: 12.03 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.2857, allocations: 20.66 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.2862, allocations: 279.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.2863, allocations: 63.95 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2863, allocations: 8.359 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.2865, allocations: 97.72 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2865, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2865, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2866, allocations: 7.984 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.2868, allocations: 95.94 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.2871, allocations: 265.3 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2884, allocations: 290.4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.2886, allocations: 60.83 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.2887, allocations: 97.03 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2888, allocations: 46.44 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2888, allocations: 0 / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004702/0.2892, allocations: 201.3 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2893, allocations: 51.41 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.2896, allocations: 307.1 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2896, allocations: 25.7 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.2897, allocations: 124.6 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2897, allocations: 23.66 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.2898, allocations: 61.67 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2899, allocations: 326.8 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2902, allocations: 155.9 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.2904, allocations: 163.9 kB / 1.035 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.2908, allocations: 289.6 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2908, allocations: 0 / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000542/0.2913, allocations: 404.8 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2914, allocations: 4 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.2914, allocations: 4 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2914, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2915, allocations: 15.98 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2915, allocations: 0 / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2917, allocations: 35.53 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2917, allocations: 8 kB / 1.035 GB, free: 9.027 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.0001232/0.2918, allocations: 133.7 kB / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.2919, allocations: 27.64 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.2922, allocations: 167.4 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2923, allocations: 0 / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2923, allocations: 4 kB / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2923, allocations: 4 kB / 1.036 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2925, allocations: 233.9 kB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2925, allocations: 4 kB / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.2926, allocations: 19.88 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2926, allocations: 0 / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2926, allocations: 7.984 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2926, allocations: 0 / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.2926, allocations: 0 / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.293, allocations: 184.7 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.2931, allocations: 108.8 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.2931, allocations: 3.984 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.2932, allocations: 4 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2933, allocations: 4 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2933, allocations: 7.984 kB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001629/0.2935, allocations: 197.9 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2935, allocations: 0 / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004268/0.2939, allocations: 115.9 kB / 1.036 GB, free: 7.727 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.0004789/0.2944, allocations: 255 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.2949, allocations: 359.3 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.295, allocations: 0 / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2951, allocations: 63.91 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2954, allocations: 41.06 kB / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.296, allocations: 396.2 kB / 1.037 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2963, allocations: 0.7395 MB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.2964, allocations: 17.08 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.2964, allocations: 19.44 kB / 1.038 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2964, allocations: 0 / 1.038 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.006541/0.303, allocations: 3.139 MB / 1.041 GB, free: 2.691 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 gbode -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