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.007011/0.007011, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001583/0.001583, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 75.81 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.879, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003485/0.8825, allocations: 2.149 MB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005012/0.8875, allocations: 3.786 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.8878, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.8882, allocations: 68.47 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.8886, allocations: 122.7 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.8891, allocations: 151.6 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.8896, allocations: 310.9 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.8898, allocations: 64.55 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.8901, allocations: 135.5 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.8903, allocations: 147.3 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.8904, allocations: 20 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.8907, allocations: 139.8 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.8907, allocations: 55.77 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.8909, allocations: 123.3 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.8914, allocations: 350.5 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8914, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8914, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.8914, allocations: 0 / 1.174 GB, free: 12.2 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.001281/0.8927, allocations: 0.6306 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.8928, allocations: 12.92 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.8937, allocations: 172.5 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.8944, allocations: 324.5 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.8945, allocations: 12.5 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.8945, allocations: 15.94 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.8952, allocations: 222.6 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8952, allocations: 3.984 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.8952, allocations: 4 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.8953, allocations: 4 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009493/0.8962, allocations: 283.6 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.8976, allocations: 0.5824 MB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.8981, allocations: 166.4 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.8986, allocations: 156.7 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008866/0.8995, allocations: 0.5454 MB / 1.177 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8995, allocations: 38.56 kB / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.8995, allocations: 0 / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001561/0.9011, allocations: 490.8 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.9012, allocations: 55.34 kB / 1.178 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.9014, allocations: 260.6 kB / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.9015, allocations: 29.7 kB / 1.178 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.9016, allocations: 156 kB / 1.178 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.9016, allocations: 47.58 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.9018, allocations: 41.69 kB / 1.178 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9019, allocations: 338.8 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.9024, allocations: 143.8 kB / 1.179 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.9029, allocations: 151.9 kB / 1.179 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.9038, allocations: 291 kB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9038, allocations: 0 / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001079/0.9049, allocations: 381.1 kB / 1.179 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.905, allocations: 6.344 kB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.905, allocations: 0 / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.905, allocations: 4 kB / 1.179 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.9055, allocations: 67.84 kB / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.9055, allocations: 7.938 kB / 1.179 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.9058, allocations: 47.84 kB / 1.179 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.9059, allocations: 7.984 kB / 1.179 GB, free: 6.254 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.0001592/0.906, allocations: 133.7 kB / 1.18 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.9061, allocations: 23.86 kB / 1.18 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.9073, allocations: 384.8 kB / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.9073, allocations: 0 / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9073, allocations: 0 / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9073, allocations: 3.938 kB / 1.18 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.9077, allocations: 301.4 kB / 1.18 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.9078, allocations: 0 / 1.18 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.9082, allocations: 67.86 kB / 1.18 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9082, allocations: 0 / 1.18 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.9082, allocations: 3.984 kB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9082, allocations: 0 / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9082, allocations: 4 kB / 1.18 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.9093, allocations: 455 kB / 1.181 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.9095, allocations: 116.9 kB / 1.181 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.9095, allocations: 0 / 1.181 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.9099, allocations: 39.94 kB / 1.181 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.91, allocations: 15.98 kB / 1.181 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.91, allocations: 11.92 kB / 1.181 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001765/0.9102, allocations: 191.1 kB / 1.181 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9102, allocations: 0 / 1.181 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003647/0.9106, allocations: 75.83 kB / 1.181 GB, free: 4.363 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.0002521/0.9108, allocations: 135 kB / 1.181 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.9119, allocations: 319.7 kB / 1.182 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.912, allocations: 0 / 1.182 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.9125, allocations: 169.4 kB / 1.182 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.913, allocations: 40.16 kB / 1.182 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.9141, allocations: 0.4895 MB / 1.182 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.9144, allocations: 0.7474 MB / 1.183 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.9146, allocations: 45.39 kB / 1.183 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.9147, allocations: 27.36 kB / 1.183 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9147, allocations: 0 / 1.183 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of Templates: time 0.007208/0.922, allocations: 3.312 MB / 1.186 GB, free: 15.07 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/jenkins/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