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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006282/0.006282, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001419/0.001419, allocations: 189.7 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.8 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 59.91 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 157.4 MB / 1.208 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003442/0.3184, allocations: 1.912 MB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.3224, allocations: 3.462 MB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3226, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.323, allocations: 51.61 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.3235, allocations: 127.3 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.701e-05/0.3236, allocations: 35.91 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3238, allocations: 167.2 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.324, allocations: 41.64 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.3242, allocations: 91.5 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3243, allocations: 75.69 kB / 1.214 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3244, allocations: 8 kB / 1.214 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.3245, allocations: 31.92 kB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.3245, allocations: 39.83 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.3246, allocations: 79.53 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3249, allocations: 171.2 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3249, allocations: 0 / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3249, allocations: 4 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3249, allocations: 0 / 1.214 GB, free: 3.387 MB / 0.9669 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.0009408/0.3258, allocations: 0.5076 MB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3259, allocations: 8.625 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.326, allocations: 16.75 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3263, allocations: 250.8 kB / 1.215 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3264, allocations: 4.375 kB / 1.215 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3264, allocations: 4.359 kB / 1.215 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3268, allocations: 155.3 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3268, allocations: 0 / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3268, allocations: 0 / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.3268, allocations: 8 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.3273, allocations: 147.8 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.3281, allocations: 448.5 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.3285, allocations: 174.5 kB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3288, allocations: 112.8 kB / 1.216 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3288, allocations: 0 / 1.216 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3289, allocations: 42.56 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3289, allocations: 0 / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008576/0.3297, allocations: 289.7 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3298, allocations: 59.41 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.33, allocations: 213 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.33, allocations: 29.7 kB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3302, allocations: 128 kB / 1.216 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3302, allocations: 35.45 kB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3303, allocations: 29.7 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3304, allocations: 334.8 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3307, allocations: 79.92 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.3309, allocations: 75.88 kB / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.3314, allocations: 166 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3314, allocations: 0 / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005495/0.332, allocations: 223.8 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.332, allocations: 8 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.332, allocations: 3.938 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.332, allocations: 0 / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3323, allocations: 35.97 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3323, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3325, allocations: 11.98 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3325, allocations: 7.984 kB / 1.217 GB, free: 15.63 MB / 0.9825 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.0001163/0.3326, allocations: 137.7 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.3327, allocations: 23.72 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.3327, allocations: 29.83 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3328, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3328, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3328, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3331, allocations: 269.5 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3331, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.3333, allocations: 31.97 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3333, allocations: 4 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3333, allocations: 7.984 kB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3333, allocations: 0 / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3334, allocations: 4 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.334, allocations: 323 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3342, allocations: 108.9 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3342, allocations: 4 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3344, allocations: 15.98 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.3345, allocations: 7.984 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3345, allocations: 8 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001213/0.3346, allocations: 156.5 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3346, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002784/0.3349, allocations: 43.88 kB / 1.218 GB, free: 14.38 MB / 0.9825 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.0001667/0.3351, allocations: 103.2 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.3356, allocations: 183.8 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3356, allocations: 3.938 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3359, allocations: 99.5 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3363, allocations: 28.41 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.3372, allocations: 422.7 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3375, allocations: 0.7275 MB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.3377, allocations: 52.53 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.138e-05/0.3378, allocations: 23.42 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3378, allocations: 0 / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.004825/0.3426, allocations: 1.884 MB / 1.222 GB, free: 10.84 MB / 0.9825 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