Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.002017/0.002017, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 69.88 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.778, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003677/0.7817, allocations: 2.045 MB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.788, allocations: 4.067 MB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.7883, allocations: 1.438 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.7893, allocations: 193.8 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.7896, allocations: 64.94 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.7907, allocations: 271 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000791/0.7915, allocations: 379.2 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.7916, allocations: 50.84 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.7919, allocations: 109.2 kB / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.7922, allocations: 128.5 kB / 1.09 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.7922, allocations: 15.38 kB / 1.09 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006537/0.7929, allocations: 307.2 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.7931, allocations: 98.45 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.7933, allocations: 146.5 kB / 1.091 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.7943, allocations: 0.5118 MB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7943, allocations: 0 / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7943, allocations: 1.281 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7943, allocations: 0 / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00185/0.7962, allocations: 0.7492 MB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7963, allocations: 9.75 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.7964, allocations: 36.44 kB / 1.092 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.797, allocations: 329.4 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.7971, allocations: 8.219 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.7971, allocations: 5.031 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.7977, allocations: 209.8 kB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7977, allocations: 0 / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.7978, allocations: 9.047 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7978, allocations: 2.125 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.7985, allocations: 241.8 kB / 1.093 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.7998, allocations: 0.5884 MB / 1.093 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.8003, allocations: 177.8 kB / 1.093 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.8007, allocations: 134 kB / 1.093 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.8008, allocations: 20.98 kB / 1.094 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.8008, allocations: 39.78 kB / 1.094 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.8008, allocations: 4.156 kB / 1.094 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.00142/0.8022, allocations: 446 kB / 1.094 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.8023, allocations: 52.69 kB / 1.094 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.8029, allocations: 408.9 kB / 1.094 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.8029, allocations: 26.7 kB / 1.094 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.8031, allocations: 188.7 kB / 1.095 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.8032, allocations: 38.66 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.8033, allocations: 43.5 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8035, allocations: 347.8 kB / 1.095 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.8039, allocations: 164.7 kB / 1.095 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.8044, allocations: 174.5 kB / 1.095 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.8053, allocations: 346.8 kB / 1.096 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8053, allocations: 4 kB / 1.096 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001063/0.8064, allocations: 466 kB / 1.096 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.8064, allocations: 45.78 kB / 1.096 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8065, allocations: 5.219 kB / 1.096 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8065, allocations: 0 / 1.096 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.8068, allocations: 48.86 kB / 1.096 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8068, allocations: 0 / 1.096 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.8071, allocations: 44.3 kB / 1.096 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.8072, allocations: 5.078 kB / 1.096 GB, free: 9.48 MB / 0.8419 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001855/0.8074, allocations: 157.4 kB / 1.096 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.8075, allocations: 35.8 kB / 1.096 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.8085, allocations: 343.3 kB / 1.097 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8085, allocations: 0.9688 kB / 1.097 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8085, allocations: 1.938 kB / 1.097 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.8085, allocations: 4.734 kB / 1.097 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.809, allocations: 339.5 kB / 1.097 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.809, allocations: 0 / 1.097 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.8093, allocations: 52.81 kB / 1.097 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8093, allocations: 0 / 1.097 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.8094, allocations: 3.125 kB / 1.097 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8094, allocations: 2.016 kB / 1.097 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8094, allocations: 0 / 1.097 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/0.8103, allocations: 422.5 kB / 1.098 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.8105, allocations: 131 kB / 1.098 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.8106, allocations: 1.656 kB / 1.098 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.8109, allocations: 28 kB / 1.098 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.811, allocations: 21.91 kB / 1.098 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.811, allocations: 5.547 kB / 1.098 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004125/0.8114, allocations: 286.1 kB / 1.098 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8114, allocations: 1 kB / 1.098 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000639/0.8121, allocations: 120.2 kB / 1.098 GB, free: 8.457 MB / 0.8419 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 (11): * Single equations (assignments): 11 * 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.0004798/0.8126, allocations: 181 kB / 1.098 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.8137, allocations: 0.5026 MB / 1.099 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8137, allocations: 1.25 kB / 1.099 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.8141, allocations: 144.6 kB / 1.099 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.8147, allocations: 60.88 kB / 1.099 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.8161, allocations: 0.6607 MB / 1.1 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.8166, allocations: 0.7897 MB / 1.1 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.8167, allocations: 30.66 kB / 1.1 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.8167, allocations: 0 / 1.1 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of Templates: time 0.01033/0.827, allocations: 4.793 MB / 1.105 GB, free: 6.562 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches