Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.001871/0.001871, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.475/2.475, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7248, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05733/0.7822, allocations: 57.39 MB / 1.223 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.9417, allocations: 159.7 MB / 1.379 GB, free: 9.941 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.9442, allocations: 59.62 kB / 1.379 GB, free: 9.883 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.9463, allocations: 0.713 MB / 1.38 GB, free: 9.164 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.9547, allocations: 3.224 MB / 1.383 GB, free: 5.934 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00579/0.9605, allocations: 2.563 MB / 1.386 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.9739, allocations: 13.78 MB / 1.399 GB, free: 5.562 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008269/0.9822, allocations: 6.796 MB / 1.406 GB, free: 14.66 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/0.9954, allocations: 7.705 MB / 1.413 GB, free: 6.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005959/1.001, allocations: 4.054 MB / 1.417 GB, free: 2.891 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001845/1.003, allocations: 0.6953 MB / 1.418 GB, free: 2.195 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008357/1.012, allocations: 4.283 MB / 1.422 GB, free: 13.91 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002362/1.014, allocations: 1.671 MB / 1.424 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005291/1.019, allocations: 3.345 MB / 1.427 GB, free: 8.871 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/1.032, allocations: 10.26 MB / 1.437 GB, free: 14.58 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.032, allocations: 0 / 1.437 GB, free: 14.58 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.532e-06/1.032, allocations: 0 / 1.437 GB, free: 14.58 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000228/1.032, allocations: 0 / 1.437 GB, free: 14.58 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01552/1.048, allocations: 6.515 MB / 1.443 GB, free: 7.973 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.048, allocations: 8.625 kB / 1.443 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/1.061, allocations: 1.768 MB / 1.445 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/1.072, allocations: 5.155 MB / 1.45 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/1.072, allocations: 308.2 kB / 1.451 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/1.073, allocations: 411.9 kB / 1.451 GB, free: 264 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/1.088, allocations: 6.077 MB / 1.457 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.088, allocations: 11.94 kB / 1.457 GB, free: 9.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009228/1.089, allocations: 179.9 kB / 1.457 GB, free: 9.785 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/1.089, allocations: 168.1 kB / 1.457 GB, free: 9.617 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/1.103, allocations: 5.796 MB / 1.463 GB, free: 3.801 MB / 1.186 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.03343/1.136, allocations: 21.98 MB / 1.484 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008407/1.145, allocations: 4.003 MB / 1.488 GB, free: 8.918 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/1.149, allocations: 1.987 MB / 1.49 GB, free: 6.926 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/1.151, allocations: 2.549 MB / 1.493 GB, free: 3.84 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005008/1.156, allocations: 2.296 MB / 1.495 GB, free: 1.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=300): time 5.81e-06/1.156, allocations: 0 / 1.495 GB, free: 1.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=300): time 0.01803/1.174, allocations: 7.114 MB / 1.502 GB, free: 10.12 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.174, allocations: 247.9 kB / 1.502 GB, free: 9.828 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/1.181, allocations: 3.872 MB / 1.506 GB, free: 5.93 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004727/1.182, allocations: 81.7 kB / 1.506 GB, free: 5.844 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/1.184, allocations: 2.078 MB / 1.508 GB, free: 3.746 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.185, allocations: 1.005 MB / 1.509 GB, free: 2.727 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/1.187, allocations: 0.6512 MB / 1.51 GB, free: 2.066 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/1.187, allocations: 305.1 kB / 1.51 GB, free: 1.766 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.191, allocations: 1.73 MB / 1.512 GB, free: 28 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/1.195, allocations: 2.347 MB / 1.514 GB, free: 13.46 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009121/1.205, allocations: 4.116 MB / 1.518 GB, free: 9.109 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/1.205, allocations: 4 kB / 1.518 GB, free: 9.105 MB / 1.248 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.0133/1.218, allocations: 4.75 MB / 1.523 GB, free: 4.312 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.218, allocations: 12 kB / 1.523 GB, free: 4.301 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.218, allocations: 12.91 kB / 1.523 GB, free: 4.289 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/1.219, allocations: 116.8 kB / 1.523 GB, free: 4.172 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/1.223, allocations: 0.8345 MB / 1.523 GB, free: 3.336 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.226, allocations: 2.277 MB / 1.526 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005136/1.231, allocations: 488.2 kB / 1.526 GB, free: 420 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/1.231, allocations: 163.9 kB / 1.526 GB, free: 256 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006598/1.238, allocations: 3.075 MB / 1.529 GB, free: 13.16 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004629/1.243, allocations: 2.343 MB / 1.532 GB, free: 10.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008738/1.251, allocations: 4.12 MB / 1.536 GB, free: 6.242 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.39e-05/1.252, allocations: 4 kB / 1.536 GB, free: 6.238 MB / 1.264 GB Notification: Performance of matching and sorting (n=410) (initialization_lambda0): time 0.01195/1.263, allocations: 4.746 MB / 1.54 GB, free: 1.449 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.264, allocations: 11.94 kB / 1.54 GB, free: 1.438 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.264, allocations: 20 kB / 1.54 GB, free: 1.418 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/1.264, allocations: 117.2 kB / 1.54 GB, free: 1.301 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/1.268, allocations: 0.8073 MB / 1.541 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.271, allocations: 1.681 MB / 1.543 GB, free: 14.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/1.276, allocations: 409.4 kB / 1.543 GB, free: 14.26 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006359/1.276, allocations: 163.9 kB / 1.543 GB, free: 14.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001207/1.278, allocations: 389.9 kB / 1.544 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.279, allocations: 407 kB / 1.544 GB, free: 13.31 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/1.294, allocations: 5.331 MB / 1.549 GB, free: 7.898 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01067/1.304, allocations: 4.273 MB / 1.554 GB, free: 3.512 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.304, allocations: 3.938 kB / 1.554 GB, free: 3.508 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.307, allocations: 1.073 MB / 1.555 GB, free: 2.41 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.309, allocations: 75.83 kB / 1.555 GB, free: 2.336 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/1.313, allocations: 234 kB / 1.555 GB, free: 2.109 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/1.313, allocations: 246.1 kB / 1.555 GB, free: 1.867 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5622/1.875, allocations: 4.898 MB / 1.56 GB, free: 373.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01335/1.889, allocations: 6.661 MB / 1.566 GB, free: 371.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00364/1.892, allocations: 1.983 MB / 1.568 GB, free: 370.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003735/1.896, allocations: 2.726 MB / 1.571 GB, free: 369.5 MB / 1.279 GB Notification: Performance of Backend: time 1.162e-06/1.896, allocations: 0 / 1.571 GB, free: 369.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.911, allocations: 6.409 MB / 1.577 GB, free: 367.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.01726/1.928, allocations: 11.01 MB / 1.588 GB, free: 360 MB / 1.279 GB Notification: Performance of Templates: time 0.1355/2.063, allocations: 114.9 MB / 1.7 GB, free: 246.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches