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.009963/0.009964, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.002173/0.002173, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.12 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3292, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003337/0.3325, allocations: 1.888 MB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.3375, allocations: 3.614 MB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3377, allocations: 0 / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000916/0.3387, allocations: 187.2 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3389, allocations: 75.47 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.314e-05/0.339, allocations: 23.95 kB / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.3395, allocations: 267.1 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3396, allocations: 29.55 kB / 1.232 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3398, allocations: 75.7 kB / 1.232 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3399, allocations: 83.62 kB / 1.232 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.34, allocations: 11.98 kB / 1.232 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3401, allocations: 23.98 kB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.3402, allocations: 55.81 kB / 1.232 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.3403, allocations: 87.36 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3406, allocations: 191 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3406, allocations: 0 / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3406, allocations: 0 / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3406, allocations: 4 kB / 1.232 GB, free: 2.574 MB / 0.9825 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.0009365/0.3415, allocations: 0.537 MB / 1.233 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3416, allocations: 8.031 kB / 1.233 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.3417, allocations: 24.78 kB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.342, allocations: 251.8 kB / 1.233 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.342, allocations: 8.359 kB / 1.233 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3421, allocations: 8.375 kB / 1.233 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.3425, allocations: 147.4 kB / 1.233 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3425, allocations: 0 / 1.233 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3425, allocations: 3.984 kB / 1.233 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.3425, allocations: 8 kB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.343, allocations: 147.9 kB / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.3437, allocations: 452.5 kB / 1.234 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.3441, allocations: 170.5 kB / 1.234 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.3444, allocations: 107.7 kB / 1.234 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3444, allocations: 3.984 kB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3445, allocations: 34.56 kB / 1.234 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3445, allocations: 3.938 kB / 1.234 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008444/0.3453, allocations: 301.5 kB / 1.234 GB, free: 236 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3454, allocations: 51.41 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3456, allocations: 246.7 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3456, allocations: 29.7 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.3457, allocations: 148 kB / 1.235 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.3458, allocations: 39.64 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.3459, allocations: 29.7 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.346, allocations: 338.8 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.3462, allocations: 75.92 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3464, allocations: 75.94 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.3469, allocations: 167.9 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3469, allocations: 0 / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005374/0.3475, allocations: 221.4 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3475, allocations: 4 kB / 1.236 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3475, allocations: 7.984 kB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3475, allocations: 0 / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3478, allocations: 35.97 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3478, allocations: 0 / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.348, allocations: 19.94 kB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.348, allocations: 7.984 kB / 1.236 GB, free: 14.71 MB / 0.9981 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.0001222/0.3481, allocations: 146.2 kB / 1.236 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3482, allocations: 27.86 kB / 1.236 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3482, allocations: 29.83 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3482, allocations: 0 / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3483, allocations: 0 / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3483, allocations: 0 / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3486, allocations: 277.4 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3486, allocations: 3.984 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.3488, allocations: 35.97 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3488, allocations: 4 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3488, allocations: 0 / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3488, allocations: 0 / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3488, allocations: 3.938 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.3495, allocations: 327.2 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3496, allocations: 109 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.3496, allocations: 4 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3498, allocations: 19.97 kB / 1.237 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.3499, allocations: 7.984 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3499, allocations: 11.92 kB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001502/0.35, allocations: 182 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3501, allocations: 0 / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002849/0.3503, allocations: 51.81 kB / 1.237 GB, free: 13.41 MB / 0.9981 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.0001606/0.3505, allocations: 103.2 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.3511, allocations: 175.9 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3511, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3513, allocations: 95.86 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3518, allocations: 59.66 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.3527, allocations: 482 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.353, allocations: 0.7435 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.3532, allocations: 49.38 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.3532, allocations: 23.42 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 4.6e-07/0.3532, allocations: 4 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.005492/0.3587, allocations: 2.481 MB / 1.241 GB, free: 9.203 MB / 0.9981 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/jenkins/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