Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001637/0.001637, allocations: 115 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.001899/0.001899, allocations: 192.6 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 66.06 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2784, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003079/0.2815, allocations: 1.673 MB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2836, allocations: 1.371 MB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2837, allocations: 11.94 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.2842, allocations: 79.59 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2844, allocations: 75.52 kB / 0.9543 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.2852, allocations: 275.2 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2855, allocations: 187.2 kB / 0.9547 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.2855, allocations: 13.44 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.2857, allocations: 83.62 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2858, allocations: 83.66 kB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2858, allocations: 8 kB / 0.9549 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.2864, allocations: 339.4 kB / 0.9552 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.2865, allocations: 71.73 kB / 0.9553 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2866, allocations: 87.42 kB / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.2872, allocations: 391 kB / 0.9557 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2872, allocations: 4 kB / 0.9557 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2872, allocations: 4 kB / 0.9557 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.2873, allocations: 0 / 0.9557 GB, free: 3.285 MB / 0.7325 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.0009668/0.2882, allocations: 0.5568 MB / 0.9563 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2883, allocations: 12.03 kB / 0.9563 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.2883, allocations: 20.66 kB / 0.9563 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.2888, allocations: 275.7 kB / 0.9566 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2889, allocations: 63.95 kB / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.289, allocations: 8.375 kB / 0.9566 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2892, allocations: 89.78 kB / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.2892, allocations: 0 / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2892, allocations: 0 / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2892, allocations: 4 kB / 0.9567 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.2895, allocations: 103.8 kB / 0.9568 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.2898, allocations: 261.3 kB / 0.9571 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.2912, allocations: 294.3 kB / 0.9574 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2914, allocations: 56.83 kB / 0.9574 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.2915, allocations: 101.1 kB / 0.9575 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2916, allocations: 42.5 kB / 0.9575 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2916, allocations: 4 kB / 0.9576 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0005116/0.2921, allocations: 205.3 kB / 0.9577 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2921, allocations: 51.41 kB / 0.9578 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2924, allocations: 303.1 kB / 0.9581 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2925, allocations: 25.7 kB / 0.9581 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.2925, allocations: 124.6 kB / 0.9582 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2926, allocations: 23.66 kB / 0.9582 GB, free: 484 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.2927, allocations: 57.69 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2928, allocations: 330.8 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.293, allocations: 155.9 kB / 0.9588 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2933, allocations: 163.9 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2936, allocations: 281.6 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2937, allocations: 0 / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005324/0.2942, allocations: 412.9 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2942, allocations: 7.938 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2942, allocations: 4 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2943, allocations: 3.984 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.2944, allocations: 12 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2944, allocations: 0 / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2945, allocations: 35.52 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2945, allocations: 8 kB / 0.9597 GB, free: 15.01 MB / 0.7481 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.0001049/0.2946, allocations: 125.8 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.2947, allocations: 23.66 kB / 0.9598 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.295, allocations: 175.7 kB / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2951, allocations: 0 / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2951, allocations: 4 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2951, allocations: 3.984 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.2953, allocations: 233.6 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2953, allocations: 0 / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.2954, allocations: 15.92 kB / 0.9602 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2954, allocations: 4 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2954, allocations: 0 / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2954, allocations: 7.922 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2954, allocations: 0 / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2957, allocations: 188.7 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.2958, allocations: 108.8 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.2959, allocations: 0 / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.296, allocations: 7.984 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.296, allocations: 8 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.296, allocations: 4 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001809/0.2962, allocations: 201.9 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2962, allocations: 0 / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004105/0.2967, allocations: 111.9 kB / 0.9608 GB, free: 13.7 MB / 0.7481 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.0005467/0.2972, allocations: 255 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.2978, allocations: 359.2 kB / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2978, allocations: 0 / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2979, allocations: 59.97 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2982, allocations: 46.67 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.2989, allocations: 404 kB / 0.9619 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2993, allocations: 0.7357 MB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.345e-05/0.2994, allocations: 17.06 kB / 0.9626 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.2994, allocations: 15.44 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.2994, allocations: 0 / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.007116/0.3066, allocations: 3.145 MB / 0.9657 GB, free: 8.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches