Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.89/1.89, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 187.2 kB / 393.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 92.64 kB / 0.7935 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6098, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.07155/0.6814, allocations: 78.3 MB / 1.117 GB, free: 24 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.2076/0.8891, allocations: 170.6 MB / 1.284 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00649/0.8956, allocations: 107.3 kB / 1.284 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004662/0.9003, allocations: 1.188 MB / 1.285 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.9135, allocations: 3.776 MB / 1.289 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.009181/0.9227, allocations: 3.161 MB / 1.292 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02449/0.9472, allocations: 23.44 MB / 1.315 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.96, allocations: 8.507 MB / 1.323 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6045/1.565, allocations: 5.186 MB / 1.328 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/1.578, allocations: 5.125 MB / 1.333 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.003464/1.582, allocations: 284.5 kB / 1.334 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/1.593, allocations: 2.073 MB / 1.336 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004958/1.598, allocations: 1.507 MB / 1.337 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/1.61, allocations: 3.993 MB / 1.341 GB, free: 33.5 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02475/1.635, allocations: 14.3 MB / 1.355 GB, free: 31.92 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.635, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.257e-06/1.635, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007027/1.636, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.02521/1.661, allocations: 7.768 MB / 1.362 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.661, allocations: 9.281 kB / 1.363 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/1.681, allocations: 2.998 MB / 1.365 GB, free: 27.99 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/1.704, allocations: 7.941 MB / 1.373 GB, free: 26.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008999/1.705, allocations: 0.5012 MB / 1.374 GB, free: 26.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003902/1.709, allocations: 0.6509 MB / 1.374 GB, free: 26.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0376/1.747, allocations: 9.582 MB / 1.384 GB, free: 25.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004047/1.747, allocations: 13.31 kB / 1.384 GB, free: 25.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003085/1.75, allocations: 284.8 kB / 1.384 GB, free: 25.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004055/1.751, allocations: 294.7 kB / 1.384 GB, free: 25.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/1.78, allocations: 9.308 MB / 1.393 GB, free: 25.45 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06824/1.849, allocations: 32.95 MB / 1.426 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/1.863, allocations: 6.198 MB / 1.432 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007189/1.87, allocations: 3.175 MB / 1.435 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/1.873, allocations: 2.476 MB / 1.437 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007884/1.881, allocations: 3.236 MB / 1.44 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=427): time 7.464e-06/1.881, allocations: 0 / 1.44 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of matching and sorting (n=427): time 0.02118/1.902, allocations: 8.246 MB / 1.448 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/1.902, allocations: 224.9 kB / 1.449 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/1.914, allocations: 5.385 MB / 1.454 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.915, allocations: 110.3 kB / 1.454 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004603/1.92, allocations: 3.343 MB / 1.457 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003721/1.924, allocations: 1.448 MB / 1.459 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/1.925, allocations: 88.94 kB / 1.459 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0006019/1.926, allocations: 485.1 kB / 1.459 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007992/1.934, allocations: 2.585 MB / 1.462 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008346/1.942, allocations: 3.552 MB / 1.465 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/1.959, allocations: 6.25 MB / 1.471 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.423e-05/1.959, allocations: 4 kB / 1.471 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of matching and sorting (n=580) (initialization): time 0.02417/1.983, allocations: 6.984 MB / 1.478 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007032/1.984, allocations: 0.8235 MB / 1.479 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.06e-05/1.984, allocations: 24 kB / 1.479 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.55e-05/1.984, allocations: 44 kB / 1.479 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007679/1.992, allocations: 1.25 MB / 1.48 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/1.992, allocations: 60.98 kB / 1.48 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009877/2.002, allocations: 0.8017 MB / 1.481 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/2.003, allocations: 231.5 kB / 1.481 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/2.003, allocations: 4 kB / 1.481 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02143/2.025, allocations: 6.45 MB / 1.487 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.7e-05/2.025, allocations: 24 kB / 1.487 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-05/2.025, allocations: 44 kB / 1.488 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00755/2.033, allocations: 1.251 MB / 1.489 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/2.033, allocations: 62.2 kB / 1.489 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/2.043, allocations: 0.7438 MB / 1.49 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/2.045, allocations: 228.5 kB / 1.49 GB, free: 4.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 580 * 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.008138/2.053, allocations: 2.173 MB / 1.492 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003237/2.056, allocations: 0.6097 MB / 1.492 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/2.079, allocations: 7.304 MB / 1.5 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/2.079, allocations: 44 kB / 1.5 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/2.079, allocations: 0 / 1.5 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01432/2.094, allocations: 5.524 MB / 1.505 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04117/2.135, allocations: 14.94 MB / 1.52 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/2.135, allocations: 15.25 kB / 1.52 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006396/2.142, allocations: 1.068 MB / 1.521 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.344e-05/2.142, allocations: 35.92 kB / 1.521 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/2.143, allocations: 144.8 kB / 1.521 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.534e-05/2.143, allocations: 20 kB / 1.521 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/2.143, allocations: 11 kB / 1.521 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/2.167, allocations: 10.06 MB / 1.531 GB, free: 6.945 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005768/2.172, allocations: 1.533 MB / 1.532 GB, free: 5.812 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002336/2.175, allocations: 96.11 kB / 1.532 GB, free: 5.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007192/2.182, allocations: 0.5273 MB / 1.533 GB, free: 5.316 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007827/2.183, allocations: 279.4 kB / 1.533 GB, free: 5.078 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008225/2.184, allocations: 206.6 kB / 1.533 GB, free: 4.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008452/2.192, allocations: 3.767 MB / 1.537 GB, free: 2.246 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.91e-07/2.192, allocations: 3.938 kB / 1.537 GB, free: 2.242 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01547/2.208, allocations: 3.54 MB / 1.54 GB, free: 14.93 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 12 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (452): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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.004204/2.212, allocations: 1.265 MB / 1.542 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02555/2.237, allocations: 9.654 MB / 1.551 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/2.238, allocations: 9.203 kB / 1.551 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008537/2.246, allocations: 3.079 MB / 1.554 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02951/2.276, allocations: 3.288 MB / 1.557 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/2.312, allocations: 18.43 MB / 1.575 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006765/2.319, allocations: 4.404 MB / 1.58 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01966/2.339, allocations: 2.928 MB / 1.582 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004546/2.343, allocations: 0.605 MB / 1.583 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/2.343, allocations: 0 / 1.583 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of Templates: time 0.2159/2.559, allocations: 124.6 MB / 1.705 GB, free: 15.62 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)