Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_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.001325/0.001325, allocations: 113.6 kB / 16.42 MB, free: 6.004 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.001626/0.001626, allocations: 190.2 kB / 17.35 MB, free: 5.586 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7175, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003052/0.7206, allocations: 1.881 MB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.7251, allocations: 3.603 MB / 1.232 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.7253, allocations: 4 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.7261, allocations: 191.2 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.7263, allocations: 71.53 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.765e-05/0.7264, allocations: 31.89 kB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.7269, allocations: 259.2 kB / 1.232 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.727, allocations: 37.47 kB / 1.232 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.7272, allocations: 71.7 kB / 1.232 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.7274, allocations: 75.69 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.7274, allocations: 8 kB / 1.232 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.7275, allocations: 35.91 kB / 1.232 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.7276, allocations: 55.81 kB / 1.233 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.7277, allocations: 91.41 kB / 1.233 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.7279, allocations: 191.7 kB / 1.233 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.728, allocations: 3.938 kB / 1.233 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.728, allocations: 0 / 1.233 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.728, allocations: 0 / 1.233 GB, free: 6.871 MB / 0.9512 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.0008612/0.7288, allocations: 0.5331 MB / 1.233 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7289, allocations: 8.031 kB / 1.233 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.729, allocations: 24.73 kB / 1.233 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.7293, allocations: 259.8 kB / 1.234 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.7293, allocations: 384 / 1.234 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.7294, allocations: 8.375 kB / 1.234 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.7297, allocations: 143.3 kB / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7297, allocations: 0 / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7298, allocations: 0 / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.7298, allocations: 15.94 kB / 1.234 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.7302, allocations: 143.9 kB / 1.234 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.731, allocations: 456.6 kB / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.7314, allocations: 166.4 kB / 1.234 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.7317, allocations: 112.8 kB / 1.235 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.7317, allocations: 4 kB / 1.235 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.7317, allocations: 30.56 kB / 1.235 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.7317, allocations: 0 / 1.235 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.000828/0.7326, allocations: 297.6 kB / 1.235 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.7326, allocations: 55.41 kB / 1.235 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.7328, allocations: 242.7 kB / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.7329, allocations: 33.64 kB / 1.235 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.733, allocations: 136.1 kB / 1.235 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.733, allocations: 55.5 kB / 1.235 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.7331, allocations: 29.7 kB / 1.235 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7332, allocations: 342.7 kB / 1.236 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.7335, allocations: 79.94 kB / 1.236 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.7337, allocations: 71.94 kB / 1.236 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.7341, allocations: 168.6 kB / 1.236 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7341, allocations: 0 / 1.236 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005371/0.7347, allocations: 217.4 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7347, allocations: 4 kB / 1.236 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7347, allocations: 4 kB / 1.236 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7347, allocations: 0 / 1.236 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.735, allocations: 35.91 kB / 1.236 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.735, allocations: 4 kB / 1.236 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.7352, allocations: 23.92 kB / 1.236 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.7352, allocations: 0 / 1.236 GB, free: 3.016 MB / 0.9512 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.0001207/0.7353, allocations: 142.3 kB / 1.236 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.7354, allocations: 23.86 kB / 1.236 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.7355, allocations: 29.83 kB / 1.237 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7355, allocations: 0 / 1.237 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7355, allocations: 0 / 1.237 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7356, allocations: 120.9 kB / 1.237 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.7356, allocations: 11.94 kB / 1.237 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.7358, allocations: 7.984 kB / 1.237 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.7359, allocations: 15.98 kB / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007012/0.7366, allocations: 300.7 kB / 1.237 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006151/0.7372, allocations: 398.5 kB / 1.237 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002491/0.7375, allocations: 95.17 kB / 1.237 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001437/0.7376, allocations: 181.9 kB / 1.238 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/0.7377, allocations: 0 / 1.238 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.7383, allocations: 182.3 kB / 1.238 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009856/0.7393, allocations: 0.8993 MB / 1.239 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of Templates: time 0.006514/0.7458, allocations: 3.117 MB / 1.242 GB, free: 13.46 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches