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.006775/0.006775, allocations: 95.97 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.001527/0.001527, allocations: 202.7 kB / 16.68 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.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.673/2.673, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.314, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00305/0.3171, allocations: 1.911 MB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.3212, allocations: 3.463 MB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3214, allocations: 4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.3217, allocations: 51.67 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.3221, allocations: 131.2 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.149e-05/0.3222, allocations: 23.97 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.3225, allocations: 183.2 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3226, allocations: 29.66 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3228, allocations: 83.69 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.323, allocations: 87.56 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.323, allocations: 8 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.3232, allocations: 31.97 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.3232, allocations: 47.77 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.3233, allocations: 71.55 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3236, allocations: 171.2 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3236, allocations: 0 / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3236, allocations: 0 / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3236, allocations: 4 kB / 1.173 GB, free: 472 kB / 0.92 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.0009386/0.3246, allocations: 0.5099 MB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3246, allocations: 8.031 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3247, allocations: 16.84 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.325, allocations: 255 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.325, allocations: 4.375 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3251, allocations: 8.359 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3254, allocations: 145.6 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-06/0.3254, allocations: 0 / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3255, allocations: 4 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.3255, allocations: 11.94 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.326, allocations: 147.8 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.3267, allocations: 452.5 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.3271, allocations: 170.5 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3274, allocations: 108.7 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3274, allocations: 7.984 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3274, allocations: 34.56 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3274, allocations: 0 / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008489/0.3283, allocations: 289.7 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3283, allocations: 59.39 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3285, allocations: 213 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3286, allocations: 25.7 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.3287, allocations: 124 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3287, allocations: 47.64 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.3288, allocations: 29.7 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3289, allocations: 334.8 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3291, allocations: 79.88 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.3294, allocations: 75.81 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.3298, allocations: 168.7 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3299, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005397/0.3304, allocations: 213.4 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3304, allocations: 4 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3304, allocations: 0 / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3304, allocations: 4 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3307, allocations: 43.91 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3307, allocations: 0 / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3309, allocations: 19.91 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3309, allocations: 4 kB / 1.176 GB, free: 12.69 MB / 0.9356 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.0001041/0.331, allocations: 129.8 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3311, allocations: 23.86 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.3312, allocations: 21.84 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3312, allocations: 11.94 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3312, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3312, allocations: 3.984 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3315, allocations: 265.4 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3315, allocations: 0 / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3317, allocations: 39.91 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3317, allocations: 4 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3317, allocations: 7.984 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3317, allocations: 0 / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3317, allocations: 4 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.3323, allocations: 307.3 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.3324, allocations: 120.8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3325, allocations: 4 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3327, allocations: 19.98 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.3327, allocations: 11.98 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3328, allocations: 7.984 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001335/0.3329, allocations: 156.5 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.342e-06/0.3329, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002752/0.3332, allocations: 43.88 kB / 1.177 GB, free: 11.43 MB / 0.9356 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.3333, allocations: 107.2 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005457/0.3339, allocations: 171.6 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3339, allocations: 4 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.3342, allocations: 99.86 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3346, allocations: 26.45 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.3354, allocations: 426.3 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3356, allocations: 0.7275 MB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.3358, allocations: 52.56 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.3359, allocations: 19.44 kB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3359, allocations: 0 / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.004275/0.3402, allocations: 1.85 MB / 1.181 GB, free: 7.93 MB / 0.9356 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=480 -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/jenkins/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