Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 109 kB / 16.42 MB, free: 6.457 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.002096/0.002096, allocations: 189.4 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.911/2.911, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.228/5.228, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03471/1.054, allocations: 32.5 MB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1971/1.251, allocations: 160 MB / 1.396 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/1.255, allocations: 55.69 kB / 1.396 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00398/1.259, allocations: 0.7227 MB / 1.397 GB, free: 11.61 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/1.269, allocations: 1.911 MB / 1.399 GB, free: 9.688 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009427/1.279, allocations: 1.979 MB / 1.401 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.05428/1.333, allocations: 34.95 MB / 1.435 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02816/1.361, allocations: 16.76 MB / 1.451 GB, free: 3.785 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02039/1.381, allocations: 11.53 MB / 1.463 GB, free: 8.309 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01563/1.397, allocations: 9.909 MB / 1.472 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.004776/1.402, allocations: 1.535 MB / 1.474 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009547/1.412, allocations: 2.771 MB / 1.477 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.006483/1.418, allocations: 3.84 MB / 1.48 GB, free: 6.203 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.01428/1.432, allocations: 7.69 MB / 1.488 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02568/1.458, allocations: 21.88 MB / 1.509 GB, free: 8.539 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/1.458, allocations: 4 kB / 1.509 GB, free: 8.535 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.953e-06/1.458, allocations: 0 / 1.509 GB, free: 8.535 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000707/1.459, allocations: 0 / 1.509 GB, free: 8.535 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2428 * Number of variables: 2428 Notification: Performance of Generate backend data structure: time 0.0383/1.497, allocations: 14.39 MB / 1.523 GB, free: 10.03 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.497, allocations: 12.03 kB / 1.523 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/1.511, allocations: 2.214 MB / 1.525 GB, free: 7.785 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/1.54, allocations: 12.88 MB / 1.538 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000715/1.541, allocations: 0.6858 MB / 1.539 GB, free: 10.13 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/1.545, allocations: 0.8943 MB / 1.54 GB, free: 9.238 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/1.581, allocations: 14.43 MB / 1.554 GB, free: 10.37 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000395/1.581, allocations: 31.72 kB / 1.554 GB, free: 10.34 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/1.584, allocations: 400 kB / 1.554 GB, free: 9.945 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004707/1.585, allocations: 477.7 kB / 1.555 GB, free: 9.477 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.162/2.747, allocations: 12.88 MB / 1.567 GB, free: 325.5 MB / 1.279 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.07715/2.824, allocations: 53.62 MB / 1.619 GB, free: 288.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/2.839, allocations: 8.36 MB / 1.628 GB, free: 282.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008878/2.848, allocations: 4.531 MB / 1.632 GB, free: 277.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/2.849, allocations: 1.543 MB / 1.634 GB, free: 276.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009921/2.859, allocations: 4.476 MB / 1.638 GB, free: 271.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=569): time 1.094e-05/2.859, allocations: 0 / 1.638 GB, free: 271.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=569): time 0.02529/2.885, allocations: 11.12 MB / 1.649 GB, free: 260.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/2.885, allocations: 291.8 kB / 1.649 GB, free: 260 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0166/2.901, allocations: 9.83 MB / 1.659 GB, free: 250.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001324/2.903, allocations: 149.7 kB / 1.659 GB, free: 250 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004896/2.908, allocations: 5.108 MB / 1.664 GB, free: 244.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002596/2.91, allocations: 1.967 MB / 1.666 GB, free: 242.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003669/2.914, allocations: 1.413 MB / 1.667 GB, free: 241.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/2.914, allocations: 301.1 kB / 1.667 GB, free: 241.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007196/2.921, allocations: 3.791 MB / 1.671 GB, free: 237.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008249/2.93, allocations: 5.634 MB / 1.677 GB, free: 231 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/2.946, allocations: 9.764 MB / 1.686 GB, free: 220.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-05/2.946, allocations: 16 kB / 1.686 GB, free: 220.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02434/2.97, allocations: 10.56 MB / 1.696 GB, free: 209.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/2.97, allocations: 36 kB / 1.697 GB, free: 209.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/2.97, allocations: 52 kB / 1.697 GB, free: 209.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.581e-05/2.97, allocations: 92 kB / 1.697 GB, free: 209.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007878/2.978, allocations: 1.747 MB / 1.698 GB, free: 207.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/2.978, allocations: 123.6 kB / 1.698 GB, free: 207.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009202/2.988, allocations: 1.065 MB / 1.7 GB, free: 206.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/2.989, allocations: 347.8 kB / 1.7 GB, free: 206.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01266/3.002, allocations: 7.422 MB / 1.707 GB, free: 198.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008334/3.01, allocations: 5.634 MB / 1.713 GB, free: 192.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01602/3.026, allocations: 9.764 MB / 1.722 GB, free: 181.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.993e-05/3.026, allocations: 16 kB / 1.722 GB, free: 181.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization_lambda0): time 0.02172/3.048, allocations: 10.55 MB / 1.732 GB, free: 171.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/3.048, allocations: 32.03 kB / 1.732 GB, free: 171.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/3.048, allocations: 52 kB / 1.733 GB, free: 171.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.886e-05/3.048, allocations: 95.94 kB / 1.733 GB, free: 171.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007805/3.056, allocations: 1.747 MB / 1.734 GB, free: 169.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/3.056, allocations: 123.6 kB / 1.734 GB, free: 169.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/3.065, allocations: 0.8586 MB / 1.735 GB, free: 168.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/3.066, allocations: 347.8 kB / 1.736 GB, free: 168 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 896 * 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.002127/3.068, allocations: 0.6275 MB / 1.736 GB, free: 167.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003021/3.071, allocations: 0.9186 MB / 1.737 GB, free: 166.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/3.091, allocations: 9.076 MB / 1.746 GB, free: 157.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01447/3.105, allocations: 7.172 MB / 1.753 GB, free: 150 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/3.105, allocations: 4 kB / 1.753 GB, free: 150 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/3.111, allocations: 2.257 MB / 1.755 GB, free: 147.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002817/3.114, allocations: 135.9 kB / 1.755 GB, free: 147.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008235/3.122, allocations: 0.5031 MB / 1.756 GB, free: 147.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/3.123, allocations: 344.1 kB / 1.756 GB, free: 146.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02152/3.145, allocations: 8.872 MB / 1.765 GB, free: 137.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02622/3.171, allocations: 14.02 MB / 1.779 GB, free: 123.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006912/3.178, allocations: 4.015 MB / 1.782 GB, free: 119.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01087/3.189, allocations: 6.937 MB / 1.789 GB, free: 112.8 MB / 1.279 GB Notification: Performance of Backend: time 7.41e-07/3.189, allocations: 0 / 1.789 GB, free: 112.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02944/3.218, allocations: 11.97 MB / 1.801 GB, free: 101.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.05028/3.268, allocations: 26.3 MB / 1.827 GB, free: 75.13 MB / 1.279 GB Notification: Performance of Templates: time 0.3597/3.628, allocations: 251 MB / 2.072 GB, free: 1.117 MB / 1.451 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches