Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008638/0.008638, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001926/0.001926, allocations: 196 kB / 16.79 MB, free: 5.809 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.592/1.592, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7068, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003616/0.7105, allocations: 2.189 MB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.7146, allocations: 3.778 MB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.7147, allocations: 1.438 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.715, allocations: 49.92 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.7155, allocations: 118.7 kB / 0.9556 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.7158, allocations: 128.3 kB / 0.9557 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.7161, allocations: 288 kB / 0.956 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.7163, allocations: 57.45 kB / 0.956 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.7165, allocations: 128.8 kB / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.7167, allocations: 137.8 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.7167, allocations: 11.81 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.717, allocations: 121.3 kB / 0.9564 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.7171, allocations: 52.44 kB / 0.9565 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.7172, allocations: 119.6 kB / 0.9566 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.7174, allocations: 224.7 kB / 0.9568 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7175, allocations: 0 / 0.9568 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7175, allocations: 0 / 0.9568 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7175, allocations: 5.125 kB / 0.9568 GB, free: 3.469 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001155/0.7186, allocations: 0.6322 MB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7187, allocations: 6.219 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008938/0.7196, allocations: 170.1 kB / 0.9576 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.7203, allocations: 318.5 kB / 0.9579 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7203, allocations: 12.97 kB / 0.9579 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.7203, allocations: 15.34 kB / 0.9579 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.721, allocations: 224.6 kB / 0.9581 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.721, allocations: 0 / 0.9581 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.7211, allocations: 0 / 0.9581 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7211, allocations: 3.562 kB / 0.9581 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.722, allocations: 284 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.7233, allocations: 0.5861 MB / 0.959 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.7239, allocations: 165.9 kB / 0.9591 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.7244, allocations: 153.6 kB / 0.9593 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/0.7251, allocations: 0.5534 MB / 0.9598 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.7252, allocations: 35.59 kB / 0.9598 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.7252, allocations: 0 / 0.9598 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.00175/0.7269, allocations: 484 kB / 0.9603 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.727, allocations: 53.31 kB / 0.9604 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.7273, allocations: 263.4 kB / 0.9606 GB, free: 452 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.7274, allocations: 34.77 kB / 0.9606 GB, free: 412 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.7275, allocations: 147.4 kB / 0.9608 GB, free: 272 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.7275, allocations: 48.52 kB / 0.9608 GB, free: 228 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.7276, allocations: 39.25 kB / 0.9609 GB, free: 196 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7278, allocations: 340.8 kB / 0.9612 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.7283, allocations: 147.5 kB / 0.9613 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.7288, allocations: 140.6 kB / 0.9615 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.7298, allocations: 306.1 kB / 0.9618 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.7298, allocations: 4 kB / 0.9618 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00115/0.731, allocations: 366 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.731, allocations: 4.219 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.731, allocations: 1.125 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.7311, allocations: 1.375 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.7315, allocations: 77.16 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7315, allocations: 1.125 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.7319, allocations: 45.86 kB / 0.9622 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.7319, allocations: 11.83 kB / 0.9622 GB, free: 15.31 MB / 0.7325 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 (17): * Single equations (assignments): 17 * 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.0001556/0.7321, allocations: 122.9 kB / 0.9624 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.7322, allocations: 23.5 kB / 0.9624 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7334, allocations: 385 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7334, allocations: 1.219 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7334, allocations: 1.125 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7334, allocations: 7.875 kB / 0.9628 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.7338, allocations: 305.4 kB / 0.9631 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7338, allocations: 4 kB / 0.9631 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.7342, allocations: 65.53 kB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7342, allocations: 1.438 kB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.7342, allocations: 1.531 kB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7343, allocations: 0 / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7343, allocations: 1.406 kB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.7354, allocations: 458.1 kB / 0.9636 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.7355, allocations: 117.3 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.7356, allocations: 1.156 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.736, allocations: 41.19 kB / 0.9637 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.7361, allocations: 17.19 kB / 0.9637 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.7361, allocations: 11.72 kB / 0.9637 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001805/0.7363, allocations: 185.7 kB / 0.9639 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7363, allocations: 0 / 0.9639 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003993/0.7367, allocations: 70.7 kB / 0.964 GB, free: 14.01 MB / 0.7325 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.000289/0.737, allocations: 132.3 kB / 0.9641 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.7381, allocations: 327.3 kB / 0.9644 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7381, allocations: 0 / 0.9644 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.7386, allocations: 168.8 kB / 0.9646 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.7392, allocations: 33.23 kB / 0.9646 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.7404, allocations: 0.5852 MB / 0.9652 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.7407, allocations: 0.746 MB / 0.9659 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.7409, allocations: 29.47 kB / 0.9659 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.7409, allocations: 0.75 kB / 0.9659 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.006922/0.7478, allocations: 3.72 MB / 0.9696 GB, free: 10.53 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches