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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001356/0.001356, allocations: 108 kB / 15.61 MB, free: 152 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.001594/0.001594, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 63.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7973, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003206/0.8006, allocations: 1.914 MB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.8043, allocations: 3.458 MB / 0.9548 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.8044, allocations: 1.062 kB / 0.9548 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.8047, allocations: 57.69 kB / 0.9549 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.8052, allocations: 136.1 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.744e-05/0.8053, allocations: 23.69 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.8055, allocations: 179.8 kB / 0.9552 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.8056, allocations: 24.5 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.8058, allocations: 91.75 kB / 0.9553 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.806, allocations: 80.91 kB / 0.9554 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.806, allocations: 8.812 kB / 0.9554 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.8061, allocations: 33.62 kB / 0.9554 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.8062, allocations: 45.14 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/0.8063, allocations: 71.08 kB / 0.9555 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.8065, allocations: 165.8 kB / 0.9557 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8065, allocations: 0 / 0.9557 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8065, allocations: 1.5 kB / 0.9557 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8065, allocations: 0 / 0.9557 GB, free: 4.277 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.0008513/0.8074, allocations: 0.509 MB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8074, allocations: 10.66 kB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.8075, allocations: 18.72 kB / 0.9562 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.8078, allocations: 241.7 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8078, allocations: 2.688 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.8079, allocations: 3.938 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.8082, allocations: 151.3 kB / 0.9566 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8083, allocations: 3.938 kB / 0.9566 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8083, allocations: 7.969 kB / 0.9566 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.8083, allocations: 9.359 kB / 0.9566 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.8087, allocations: 136.8 kB / 0.9568 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.8093, allocations: 455.9 kB / 0.9572 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.8098, allocations: 178.9 kB / 0.9574 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.81, allocations: 99.52 kB / 0.9575 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.8101, allocations: 13.61 kB / 0.9575 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.8101, allocations: 30.56 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.8101, allocations: 1.438 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008167/0.8109, allocations: 291.5 kB / 0.9578 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.8109, allocations: 52.97 kB / 0.9578 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.8111, allocations: 211.7 kB / 0.958 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.8111, allocations: 30.55 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.8112, allocations: 131.6 kB / 0.9582 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.8113, allocations: 41.5 kB / 0.9582 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.8113, allocations: 30.89 kB / 0.9583 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.8114, allocations: 336.2 kB / 0.9586 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.8116, allocations: 71.81 kB / 0.9587 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.8118, allocations: 79.8 kB / 0.9587 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.8123, allocations: 159.9 kB / 0.9589 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8123, allocations: 5.312 kB / 0.9589 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005201/0.8128, allocations: 218.7 kB / 0.9591 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8128, allocations: 5.812 kB / 0.9591 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8129, allocations: 0 / 0.9591 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8129, allocations: 0.8125 kB / 0.9591 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.8131, allocations: 44.73 kB / 0.9591 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8132, allocations: 0 / 0.9591 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.8133, allocations: 20.67 kB / 0.9592 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.8133, allocations: 3 kB / 0.9592 GB, free: 1.527 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.992e-05/0.8135, allocations: 130.7 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.8135, allocations: 20.56 kB / 0.9593 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.8136, allocations: 26.17 kB / 0.9593 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8136, allocations: 2.188 kB / 0.9593 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8136, allocations: 0 / 0.9593 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8136, allocations: 1.062 kB / 0.9593 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.8139, allocations: 268.8 kB / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8139, allocations: 0 / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.8141, allocations: 43.73 kB / 0.9596 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8141, allocations: 4.953 kB / 0.9596 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.8141, allocations: 2.156 kB / 0.9596 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8141, allocations: 0 / 0.9596 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8142, allocations: 1.125 kB / 0.9596 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.8147, allocations: 325.4 kB / 0.96 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.8148, allocations: 107.7 kB / 0.9601 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.8149, allocations: 1.125 kB / 0.9601 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.8151, allocations: 19.66 kB / 0.9601 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.8151, allocations: 16.3 kB / 0.9601 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.8151, allocations: 6.594 kB / 0.9601 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001215/0.8153, allocations: 161 kB / 0.9603 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8153, allocations: 0 / 0.9603 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002915/0.8156, allocations: 44.25 kB / 0.9603 GB, free: 0.5742 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.0001541/0.8157, allocations: 99.94 kB / 0.9604 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.8163, allocations: 192.2 kB / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8163, allocations: 4 kB / 0.9606 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.8166, allocations: 92.08 kB / 0.9607 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.817, allocations: 29.53 kB / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.8178, allocations: 428.7 kB / 0.9611 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.8182, allocations: 0.736 MB / 0.9618 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000182/0.8184, allocations: 50.95 kB / 0.9619 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.8185, allocations: 19.3 kB / 0.9619 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.8185, allocations: 0 / 0.9619 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.005084/0.8236, allocations: 1.826 MB / 0.9637 GB, free: 14.39 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/jenkins/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