Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.1 kB / 16.37 MB, free: 6.477 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.00113/0.001131, allocations: 193.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.352/1.352, 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 9.1.2-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 61.22 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2861, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003296/0.2894, allocations: 1.921 MB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.2934, allocations: 3.459 MB / 0.9564 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.2935, allocations: 8 kB / 0.9564 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.2938, allocations: 47.62 kB / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.2944, allocations: 131.3 kB / 0.9566 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.57e-05/0.2945, allocations: 23.97 kB / 0.9566 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2947, allocations: 179.2 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2949, allocations: 29.69 kB / 0.9568 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2951, allocations: 83.62 kB / 0.9569 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2952, allocations: 87.61 kB / 0.9569 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.2953, allocations: 8 kB / 0.9569 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.2954, allocations: 27.97 kB / 0.957 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.2954, allocations: 43.78 kB / 0.957 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2955, allocations: 87.47 kB / 0.9571 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2958, allocations: 163.4 kB / 0.9573 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.2958, allocations: 0 / 0.9573 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.198e-06/0.2958, allocations: 0 / 0.9573 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2958, allocations: 3.938 kB / 0.9573 GB, free: 1.746 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000973/0.2968, allocations: 0.5033 MB / 0.9577 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2969, allocations: 8.031 kB / 0.9578 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.2969, allocations: 24.64 kB / 0.9578 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2973, allocations: 242.8 kB / 0.958 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2973, allocations: 384 / 0.958 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2974, allocations: 8.375 kB / 0.958 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.2977, allocations: 149.7 kB / 0.9582 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2978, allocations: 0 / 0.9582 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.2978, allocations: 3.938 kB / 0.9582 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.2978, allocations: 11.98 kB / 0.9582 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.2982, allocations: 146.1 kB / 0.9583 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.2991, allocations: 448.5 kB / 0.9587 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.2995, allocations: 182.5 kB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.2998, allocations: 108.8 kB / 0.959 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2998, allocations: 0 / 0.959 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2999, allocations: 34.55 kB / 0.9591 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2999, allocations: 0 / 0.9591 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008776/0.3008, allocations: 293.4 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.3009, allocations: 51.41 kB / 0.9594 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3011, allocations: 213 kB / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3011, allocations: 25.7 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3013, allocations: 135.8 kB / 0.9597 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.3013, allocations: 47.3 kB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.3014, allocations: 29.7 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3016, allocations: 330.8 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.3018, allocations: 75.92 kB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.302, allocations: 80.19 kB / 0.9603 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3025, allocations: 168.5 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3025, allocations: 0 / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005253/0.303, allocations: 213.4 kB / 0.9606 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.303, allocations: 4 kB / 0.9606 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3031, allocations: 7.984 kB / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3031, allocations: 0 / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3034, allocations: 35.91 kB / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3034, allocations: 0 / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3036, allocations: 23.83 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3036, allocations: 11.98 kB / 0.9607 GB, free: 13.97 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001612/0.3038, allocations: 129.3 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.3038, allocations: 15.81 kB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.3039, allocations: 25.83 kB / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3039, allocations: 4 kB / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3039, allocations: 0 / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.304, allocations: 0 / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.3044, allocations: 277.4 kB / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3044, allocations: 0 / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.3046, allocations: 35.91 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3046, allocations: 0 / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3047, allocations: 4 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3047, allocations: 0 / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3047, allocations: 0 / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.3053, allocations: 327.2 kB / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.3055, allocations: 108.8 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.3056, allocations: 7.984 kB / 0.9616 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3058, allocations: 11.98 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.3058, allocations: 19.92 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3059, allocations: 7.938 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001618/0.306, allocations: 156.5 kB / 0.9618 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.564e-06/0.306, allocations: 0 / 0.9618 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002962/0.3063, allocations: 47.81 kB / 0.9618 GB, free: 12.73 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 (13): * Single equations (assignments): 13 * 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.0002372/0.3066, allocations: 107.2 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.3071, allocations: 171.8 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3072, allocations: 4 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.3074, allocations: 95.05 kB / 0.9622 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3079, allocations: 28.36 kB / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.3088, allocations: 422.7 kB / 0.9626 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3092, allocations: 0.7353 MB / 0.9634 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.3094, allocations: 52.58 kB / 0.9634 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.3094, allocations: 19.42 kB / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.3094, allocations: 0 / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.00535/0.3148, allocations: 1.821 MB / 0.9652 GB, free: 9.258 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches