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.001929/0.001937, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.002141/0.002141, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.496/1.496, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.519/2.519, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.72 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003496/0.3129, allocations: 1.979 MB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.3173, allocations: 3.405 MB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3175, allocations: 3.938 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.3179, allocations: 39.81 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.3184, allocations: 123.4 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.534e-05/0.3185, allocations: 23.97 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.3187, allocations: 179.1 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3188, allocations: 33.67 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.319, allocations: 87.62 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.3192, allocations: 83.61 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3193, allocations: 12 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.3194, allocations: 23.98 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.3194, allocations: 35.84 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3196, allocations: 91.34 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.3197, allocations: 115.7 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3198, allocations: 4 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3198, allocations: 0 / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3198, allocations: 0 / 1.024 GB, free: 4.746 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.0009675/0.3208, allocations: 0.5023 MB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3208, allocations: 8.625 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.3209, allocations: 20.66 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3213, allocations: 250.8 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.3213, allocations: 384 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3213, allocations: 8.375 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.3217, allocations: 149.6 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3217, allocations: 0 / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3217, allocations: 0 / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.3218, allocations: 11.98 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.3222, allocations: 143.9 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.323, allocations: 452.5 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.3235, allocations: 170.5 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.3238, allocations: 108.8 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3238, allocations: 4 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3238, allocations: 38.5 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.3238, allocations: 3.984 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0009122/0.3248, allocations: 302.7 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3248, allocations: 55.41 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3251, allocations: 209 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3251, allocations: 25.7 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3252, allocations: 128 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.3253, allocations: 39.38 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.3254, allocations: 33.69 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3256, allocations: 334.8 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3258, allocations: 71.94 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.326, allocations: 82.8 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.3265, allocations: 160.8 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3265, allocations: 0 / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000542/0.327, allocations: 217.3 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3271, allocations: 12 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3271, allocations: 0 / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3271, allocations: 0 / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3274, allocations: 35.95 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3274, allocations: 0 / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3276, allocations: 15.89 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3276, allocations: 8 kB / 1.027 GB, free: 0.9844 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.0001741/0.3278, allocations: 145.6 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.3278, allocations: 15.81 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.3279, allocations: 29.83 kB / 1.027 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3279, allocations: 0 / 1.027 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3279, allocations: 4 kB / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3279, allocations: 0 / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.3283, allocations: 269.4 kB / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3283, allocations: 0 / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3285, allocations: 35.95 kB / 1.027 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3285, allocations: 4 kB / 1.027 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3286, allocations: 4 kB / 1.027 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3286, allocations: 0 / 1.027 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3286, allocations: 0 / 1.027 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.3292, allocations: 325.3 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.3294, allocations: 112.8 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3294, allocations: 4 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3296, allocations: 15.97 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.3297, allocations: 11.98 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3297, allocations: 4 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001686/0.3299, allocations: 156.5 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3299, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002929/0.3302, allocations: 51.88 kB / 1.028 GB, free: 15.74 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.0002001/0.3304, allocations: 103.8 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005794/0.331, allocations: 187.8 kB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.331, allocations: 0 / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.3313, allocations: 99.86 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3317, allocations: 25.36 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3327, allocations: 0.5014 MB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.3332, allocations: 0.7275 MB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.3333, allocations: 23.42 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3333, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.005095/0.3384, allocations: 2.324 MB / 1.032 GB, free: 11.71 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=400 -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