Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001286/0.001285, allocations: 100.1 kB / 15.88 MB, free: 12 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.001319/0.001319, allocations: 200 kB / 16.79 MB, free: 6.828 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.328/1.328, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7033, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003036/0.7064, allocations: 1.97 MB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.7098, allocations: 3.431 MB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.71, allocations: 1.344 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.7103, allocations: 38.09 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.7108, allocations: 127.9 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.337e-05/0.7109, allocations: 23.42 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.7111, allocations: 189 kB / 0.9552 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.7112, allocations: 24.14 kB / 0.9552 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.7114, allocations: 78.55 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.7115, allocations: 86.42 kB / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.7116, allocations: 5.781 kB / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.7117, allocations: 28.41 kB / 0.9554 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.7117, allocations: 38.84 kB / 0.9555 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.7118, allocations: 71.2 kB / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.712, allocations: 111.7 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.712, allocations: 0 / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.712, allocations: 0 / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.712, allocations: 4 kB / 0.9556 GB, free: 4.254 MB / 0.7169 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.0008397/0.7129, allocations: 0.5006 MB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7129, allocations: 13.44 kB / 0.9561 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.713, allocations: 21.25 kB / 0.9562 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.7133, allocations: 245.6 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.7133, allocations: 7.156 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.7133, allocations: 6.969 kB / 0.9564 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.7137, allocations: 148.4 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7137, allocations: 0 / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.7137, allocations: 0 / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.7138, allocations: 8.312 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.7142, allocations: 149.7 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.7149, allocations: 456.1 kB / 0.9571 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.7153, allocations: 174.4 kB / 0.9573 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.7156, allocations: 112.1 kB / 0.9574 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.7156, allocations: 4 kB / 0.9574 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.7156, allocations: 33.25 kB / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.7156, allocations: 0 / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007782/0.7164, allocations: 292.6 kB / 0.9577 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.7164, allocations: 57.42 kB / 0.9578 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.7166, allocations: 211.2 kB / 0.958 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.7166, allocations: 25.7 kB / 0.958 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.7167, allocations: 123.2 kB / 0.9581 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.7168, allocations: 45.67 kB / 0.9582 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.7168, allocations: 35.92 kB / 0.9582 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.7169, allocations: 335.1 kB / 0.9585 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.7171, allocations: 75.81 kB / 0.9586 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.7173, allocations: 72.41 kB / 0.9587 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.7178, allocations: 169.2 kB / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7178, allocations: 0 / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004772/0.7182, allocations: 223 kB / 0.959 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7183, allocations: 5.5 kB / 0.959 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.7183, allocations: 4 kB / 0.9591 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7183, allocations: 1.375 kB / 0.9591 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.7186, allocations: 31.34 kB / 0.9591 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7186, allocations: 1.375 kB / 0.9591 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.7187, allocations: 20.12 kB / 0.9591 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7188, allocations: 6.75 kB / 0.9591 GB, free: 1.5 MB / 0.7169 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 9.561e-05/0.7189, allocations: 134 kB / 0.9592 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.7189, allocations: 21.44 kB / 0.9593 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.719, allocations: 21.81 kB / 0.9593 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.719, allocations: 2.656 kB / 0.9593 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.719, allocations: 0 / 0.9593 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.719, allocations: 3.984 kB / 0.9593 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.7192, allocations: 269 kB / 0.9595 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7192, allocations: 1.25 kB / 0.9595 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.7195, allocations: 30.75 kB / 0.9596 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7195, allocations: 2.031 kB / 0.9596 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.7195, allocations: 9.609 kB / 0.9596 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7195, allocations: 0 / 0.9596 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7195, allocations: 0 / 0.9596 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.72, allocations: 318.9 kB / 0.9599 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.7201, allocations: 112.1 kB / 0.96 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.7202, allocations: 5.125 kB / 0.96 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.7204, allocations: 11.02 kB / 0.96 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.7204, allocations: 8.859 kB / 0.96 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.7204, allocations: 18.64 kB / 0.96 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001196/0.7206, allocations: 153.6 kB / 0.9602 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7206, allocations: 0 / 0.9602 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002836/0.7209, allocations: 47.81 kB / 0.9602 GB, free: 0.5547 MB / 0.7169 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.0001593/0.721, allocations: 106.9 kB / 0.9603 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005259/0.7216, allocations: 175 kB / 0.9605 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7216, allocations: 0 / 0.9605 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.7218, allocations: 101 kB / 0.9606 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.7222, allocations: 24.09 kB / 0.9606 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.7231, allocations: 0.5005 MB / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.7234, allocations: 0.732 MB / 0.9618 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.7235, allocations: 19.3 kB / 0.9618 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.7235, allocations: 0 / 0.9618 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.004762/0.7283, allocations: 2.312 MB / 0.9641 GB, free: 14.04 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches