Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001551/0.001551, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001637/0.001637, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.56 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2986, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00347/0.3021, allocations: 1.924 MB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.3066, allocations: 3.44 MB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3068, allocations: 4 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.3071, allocations: 47.62 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.3076, allocations: 135.3 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.613e-05/0.3077, allocations: 23.95 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.308, allocations: 179.2 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3081, allocations: 29.67 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3083, allocations: 79.64 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.3085, allocations: 87.61 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.3086, allocations: 8 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3087, allocations: 39.84 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3088, allocations: 35.91 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3089, allocations: 83.47 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3092, allocations: 163.4 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3092, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3092, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3092, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 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.000994/0.3102, allocations: 0.4984 MB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3102, allocations: 8.922 kB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.3103, allocations: 24.64 kB / 1.025 GB, free: 3.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3107, allocations: 250.7 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3107, allocations: 8.312 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3107, allocations: 8.359 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.3111, allocations: 148.5 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3111, allocations: 0 / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3112, allocations: 0 / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.3112, allocations: 11.98 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3117, allocations: 143.8 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.3124, allocations: 456.5 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.3128, allocations: 174.5 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3131, allocations: 104.8 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3131, allocations: 3.938 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3132, allocations: 34.56 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3132, allocations: 0 / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0008563/0.314, allocations: 298.1 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3141, allocations: 55.41 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3143, allocations: 213 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3143, allocations: 25.7 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.3144, allocations: 132 kB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3145, allocations: 39.36 kB / 1.027 GB, free: 1.594 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.3146, allocations: 33.7 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3147, allocations: 330.8 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3149, allocations: 75.92 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.3152, allocations: 79.88 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3156, allocations: 160.8 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3156, allocations: 3.984 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000537/0.3162, allocations: 213.4 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3162, allocations: 4 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3162, allocations: 3.984 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3162, allocations: 0 / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3165, allocations: 35.91 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3165, allocations: 7.922 kB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3167, allocations: 23.89 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3167, allocations: 7.984 kB / 1.028 GB, free: 0.6094 MB / 0.795 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.0001214/0.3168, allocations: 129.7 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.3169, allocations: 19.81 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.3169, allocations: 25.83 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.317, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.317, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.317, allocations: 4 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3173, allocations: 277.4 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3173, allocations: 4 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.3175, allocations: 35.84 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3175, allocations: 4 kB / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3176, allocations: 0 / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3176, allocations: 0 / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3176, allocations: 0 / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.3182, allocations: 329.2 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3183, allocations: 108.8 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3183, allocations: 7.984 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3185, allocations: 11.98 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3186, allocations: 15.98 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3186, allocations: 4 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001339/0.3188, allocations: 156.5 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3188, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002851/0.3191, allocations: 43.88 kB / 1.029 GB, free: 15.38 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 (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.0001873/0.3193, allocations: 107.2 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006243/0.3199, allocations: 191.8 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3199, allocations: 4 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.3202, allocations: 91.92 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3206, allocations: 24.42 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.3214, allocations: 468.2 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3217, allocations: 0.7275 MB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.3218, allocations: 23.42 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of SimCode: time 1.684e-06/0.3218, allocations: 0 / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.004495/0.3263, allocations: 2.325 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches