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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.1.|heaLos.QLos.2.|heaLos.QLos.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.1.|heaLos.QLos.2.|heaLos.QLos.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.001023/0.001023, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003797, allocations: 10.8 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002432/0.3324, allocations: 1.638 MB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.3368, allocations: 3.373 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.337, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3373, allocations: 43.75 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.3378, allocations: 115.4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.98e-05/0.3379, allocations: 31.95 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.3382, allocations: 179.1 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3383, allocations: 33.67 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.3385, allocations: 79.58 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3387, allocations: 75.67 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.3388, allocations: 4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.3389, allocations: 23.92 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.339, allocations: 35.84 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3391, allocations: 105.2 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3393, allocations: 111.7 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3393, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3393, allocations: 4 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3393, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 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.0009048/0.3402, allocations: 498.6 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3403, allocations: 11.97 kB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.3403, allocations: 24.66 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3407, allocations: 246.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3407, allocations: 8.375 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3408, allocations: 12.36 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3412, allocations: 145.7 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3412, allocations: 3.938 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3412, allocations: 0 / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.3412, allocations: 12 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.3417, allocations: 167.8 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.3425, allocations: 460.5 kB / 1.067 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3429, allocations: 178.5 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3432, allocations: 112.8 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3432, allocations: 7.938 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3433, allocations: 34.56 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3433, allocations: 3.938 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008716/0.3442, allocations: 321.6 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3442, allocations: 55.39 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3444, allocations: 213 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3444, allocations: 29.7 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.3445, allocations: 120.1 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3446, allocations: 43.36 kB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3446, allocations: 17.7 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3448, allocations: 334.8 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.345, allocations: 83.94 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3453, allocations: 94.86 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.3458, allocations: 176.8 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3458, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005579/0.3463, allocations: 229.4 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3464, allocations: 9.094 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3464, allocations: 0 / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3464, allocations: 0 / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3467, allocations: 43.89 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3467, allocations: 4 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3469, allocations: 23.89 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3469, allocations: 4 kB / 1.069 GB, free: 11.15 MB / 0.8262 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.0001263/0.347, allocations: 135.2 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.3471, allocations: 15.81 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.3471, allocations: 29.83 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3471, allocations: 8 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3472, allocations: 4 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3472, allocations: 0 / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.3475, allocations: 265.4 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3475, allocations: 0 / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.3477, allocations: 43.89 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3477, allocations: 0 / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3477, allocations: 8 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3478, allocations: 4 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3478, allocations: 3.938 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.3484, allocations: 338.5 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3485, allocations: 108.8 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.3485, allocations: 7.938 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3487, allocations: 19.97 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.3488, allocations: 11.98 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3488, allocations: 4 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001393/0.349, allocations: 160.5 kB / 1.07 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 0 / 1.07 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000273/0.3492, allocations: 39.88 kB / 1.07 GB, free: 9.879 MB / 0.8262 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.0001729/0.3494, allocations: 107.2 kB / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005716/0.35, allocations: 195.9 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.35, allocations: 0 / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.3503, allocations: 107.9 kB / 1.07 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3507, allocations: 24.41 kB / 1.07 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.3516, allocations: 0.5344 MB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3519, allocations: 0.7277 MB / 1.071 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.352, allocations: 23.42 kB / 1.071 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.352, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of Templates: time 0.004905/0.3569, allocations: 2.292 MB / 1.074 GB, free: 5.824 MB / 0.8262 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