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.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.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.0008302/0.0008303, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006275/0.006275, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.427/2.427, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8052, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002078/0.8073, allocations: 1.837 MB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.8115, allocations: 3.721 MB / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.8117, allocations: 1.375 kB / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.812, allocations: 57.42 kB / 0.9605 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.8125, allocations: 114.9 kB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.8128, allocations: 124.7 kB / 0.9608 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.8131, allocations: 298.6 kB / 0.961 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.8133, allocations: 53.47 kB / 0.9611 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.8135, allocations: 115.8 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.8136, allocations: 139.9 kB / 0.9613 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.8137, allocations: 10.31 kB / 0.9613 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.8139, allocations: 122.6 kB / 0.9615 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.814, allocations: 41.11 kB / 0.9615 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.8141, allocations: 139.7 kB / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.8144, allocations: 315.3 kB / 0.9619 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8144, allocations: 0 / 0.9619 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8144, allocations: 1.156 kB / 0.9619 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.8144, allocations: 0 / 0.9619 GB, free: 2.234 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.001102/0.8155, allocations: 0.6203 MB / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8156, allocations: 9.438 kB / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.8166, allocations: 169.7 kB / 0.9627 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.8173, allocations: 329.2 kB / 0.963 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8173, allocations: 8.312 kB / 0.963 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.8173, allocations: 19.55 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.818, allocations: 251 kB / 0.9633 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8181, allocations: 0 / 0.9633 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.8181, allocations: 5.125 kB / 0.9633 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.8181, allocations: 6.297 kB / 0.9633 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.8192, allocations: 346 kB / 0.9636 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.8204, allocations: 0.5855 MB / 0.9642 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.821, allocations: 200.8 kB / 0.9644 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.8216, allocations: 184.6 kB / 0.9646 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.8224, allocations: 0.5751 MB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.8225, allocations: 40.02 kB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.582e-06/0.8225, allocations: 0 / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.001914/0.8244, allocations: 0.5633 MB / 0.9657 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8244, allocations: 53.25 kB / 0.9658 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.8247, allocations: 263.5 kB / 0.966 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.8248, allocations: 30.67 kB / 0.9661 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8249, allocations: 156.5 kB / 0.9662 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.8249, allocations: 36.36 kB / 0.9662 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.825, allocations: 18.47 kB / 0.9663 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8251, allocations: 344.9 kB / 0.9666 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.8257, allocations: 178.3 kB / 0.9668 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.8263, allocations: 177.3 kB / 0.9669 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.8275, allocations: 350.6 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.8275, allocations: 0 / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001284/0.8288, allocations: 435.6 kB / 0.9677 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8288, allocations: 8.844 kB / 0.9677 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8288, allocations: 1.125 kB / 0.9677 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8288, allocations: 1.094 kB / 0.9677 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.8293, allocations: 91.36 kB / 0.9678 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8294, allocations: 0.6875 kB / 0.9678 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.8297, allocations: 59.08 kB / 0.9678 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8298, allocations: 15.98 kB / 0.9678 GB, free: 14.06 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.000143/0.8299, allocations: 127.7 kB / 0.968 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.83, allocations: 26.88 kB / 0.968 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.8314, allocations: 439.1 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8314, allocations: 2.188 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8314, allocations: 0 / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8314, allocations: 7.938 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.8318, allocations: 305.1 kB / 0.9687 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8318, allocations: 1.375 kB / 0.9687 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.8323, allocations: 86.02 kB / 0.9688 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.8323, allocations: 1.188 kB / 0.9688 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.8323, allocations: 5.047 kB / 0.9688 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8323, allocations: 1.125 kB / 0.9688 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8323, allocations: 0 / 0.9688 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.8336, allocations: 0.4977 MB / 0.9693 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.8338, allocations: 122.6 kB / 0.9694 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.8338, allocations: 2.125 kB / 0.9694 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.8342, allocations: 57.75 kB / 0.9695 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.8343, allocations: 9.141 kB / 0.9695 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.8343, allocations: 15.3 kB / 0.9695 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001808/0.8345, allocations: 190.5 kB / 0.9697 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.973e-06/0.8345, allocations: 0 / 0.9697 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003812/0.8349, allocations: 74.05 kB / 0.9697 GB, free: 12.74 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.0002482/0.8351, allocations: 136.4 kB / 0.9699 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.8364, allocations: 380.3 kB / 0.9702 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8364, allocations: 1.188 kB / 0.9702 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.8371, allocations: 196.1 kB / 0.9704 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.8375, allocations: 31.12 kB / 0.9704 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8387, allocations: 0.5923 MB / 0.971 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.8391, allocations: 0.7455 MB / 0.9717 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.8394, allocations: 49.81 kB / 0.9718 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.8395, allocations: 20.27 kB / 0.9718 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.8395, allocations: 0 / 0.9718 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.006816/0.8463, allocations: 2.909 MB / 0.9747 GB, free: 9.699 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/jenkins/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