Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001291/0.001291, allocations: 106.4 kB / 16.41 MB, free: 6.469 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.001448/0.001448, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 60.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8905, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003511/0.894, allocations: 2.145 MB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004942/0.899, allocations: 3.79 MB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.8992, allocations: 7.938 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.8996, allocations: 55.36 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.9001, allocations: 127.1 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.9006, allocations: 155.6 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.9011, allocations: 306.9 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.9013, allocations: 64.56 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.9016, allocations: 131.5 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.9019, allocations: 151.4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.9019, allocations: 20 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.9022, allocations: 139.7 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.9023, allocations: 59.81 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.9025, allocations: 123.2 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.903, allocations: 336.7 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.903, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.903, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.903, allocations: 8 kB / 1.175 GB, free: 12.27 MB / 0.9044 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.001331/0.9044, allocations: 0.6268 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.9044, allocations: 12.92 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/0.9054, allocations: 172.4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.9061, allocations: 316.3 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.9061, allocations: 12.56 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.9062, allocations: 11.94 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.9068, allocations: 227.1 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9069, allocations: 3.984 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.9069, allocations: 4 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9069, allocations: 3.938 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/0.9078, allocations: 279.7 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.9092, allocations: 0.5706 MB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.9097, allocations: 170.4 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.9102, allocations: 160.7 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/0.911, allocations: 0.5417 MB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9111, allocations: 46.55 kB / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.9111, allocations: 0 / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001572/0.9127, allocations: 490 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.9127, allocations: 55.41 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.913, allocations: 260.6 kB / 1.179 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.913, allocations: 29.7 kB / 1.179 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.9131, allocations: 148 kB / 1.179 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.9132, allocations: 43.36 kB / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.9133, allocations: 41.69 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9134, allocations: 338.8 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.9139, allocations: 147.9 kB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.9144, allocations: 155.9 kB / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009155/0.9153, allocations: 291.4 kB / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.9153, allocations: 0 / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001072/0.9164, allocations: 369 kB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9164, allocations: 11.98 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9164, allocations: 0 / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9164, allocations: 0 / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.9169, allocations: 63.92 kB / 1.18 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.9169, allocations: 7.875 kB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.9172, allocations: 51.73 kB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.9173, allocations: 11.98 kB / 1.18 GB, free: 6.344 MB / 0.9044 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.0001487/0.9174, allocations: 125.8 kB / 1.18 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.9175, allocations: 31.56 kB / 1.18 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.9187, allocations: 380.8 kB / 1.181 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9187, allocations: 4 kB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.9187, allocations: 0 / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9187, allocations: 3.938 kB / 1.181 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.9191, allocations: 305.4 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9191, allocations: 3.984 kB / 1.181 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.9195, allocations: 63.92 kB / 1.181 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.9195, allocations: 4 kB / 1.181 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.9195, allocations: 3.984 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9195, allocations: 0 / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9196, allocations: 0 / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.9206, allocations: 454.8 kB / 1.181 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.9208, allocations: 120.8 kB / 1.182 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.9208, allocations: 4 kB / 1.182 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.9212, allocations: 35.95 kB / 1.182 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.9213, allocations: 15.97 kB / 1.182 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.9213, allocations: 7.938 kB / 1.182 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001808/0.9215, allocations: 187.1 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9215, allocations: 0 / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003619/0.9219, allocations: 71.98 kB / 1.182 GB, free: 4.457 MB / 0.9044 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.0002499/0.9221, allocations: 131.2 kB / 1.182 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.9232, allocations: 324.4 kB / 1.182 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9232, allocations: 0 / 1.182 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.9238, allocations: 167.8 kB / 1.182 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.9242, allocations: 38.14 kB / 1.183 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.9253, allocations: 0.5112 MB / 1.183 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.9257, allocations: 0.7513 MB / 1.184 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.9258, allocations: 31.41 kB / 1.184 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9258, allocations: 3.938 kB / 1.184 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of Templates: time 0.006443/0.9323, allocations: 3.735 MB / 1.187 GB, free: 14.74 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches