Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 215.4 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003051/0.003051, allocations: 72.92 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3124, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03759/0.35, allocations: 29.83 MB / 1.356 GB, free: 3.066 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.5321, allocations: 141.7 MB / 1.495 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.5342, allocations: 75.38 kB / 1.495 GB, free: 4.793 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.5369, allocations: 0.8378 MB / 1.495 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.5424, allocations: 1.954 MB / 1.497 GB, free: 1.988 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005397/0.5478, allocations: 2.145 MB / 1.499 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.03875/0.5866, allocations: 36.71 MB / 1.535 GB, free: 11.05 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01967/0.6063, allocations: 11.75 MB / 1.547 GB, free: 15.16 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02291/0.6292, allocations: 12.14 MB / 1.559 GB, free: 3.078 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01791/0.6471, allocations: 10.55 MB / 1.569 GB, free: 8.488 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.004893/0.652, allocations: 1.57 MB / 1.57 GB, free: 6.918 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.6624, allocations: 2.951 MB / 1.573 GB, free: 3.965 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.008213/0.6706, allocations: 4.127 MB / 1.577 GB, free: 15.82 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.6842, allocations: 6.458 MB / 1.584 GB, free: 9.34 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03029/0.7145, allocations: 23.06 MB / 1.606 GB, free: 2.203 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7145, allocations: 4 kB / 1.606 GB, free: 2.199 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7145, allocations: 0 / 1.606 GB, free: 2.199 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006096/0.7151, allocations: 0 / 1.606 GB, free: 2.199 MB / 1.295 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 1.15/1.865, allocations: 15.5 MB / 1.621 GB, free: 263.1 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.865, allocations: 7.344 kB / 1.621 GB, free: 263.1 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/1.883, allocations: 2.449 MB / 1.624 GB, free: 262.3 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03456/1.918, allocations: 13.38 MB / 1.637 GB, free: 256.4 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008917/1.919, allocations: 0.6763 MB / 1.637 GB, free: 256.1 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/1.923, allocations: 0.9072 MB / 1.638 GB, free: 255.8 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03648/1.959, allocations: 17.32 MB / 1.655 GB, free: 241.5 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004843/1.959, allocations: 43.64 kB / 1.655 GB, free: 241.5 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003132/1.963, allocations: 405 kB / 1.656 GB, free: 241.1 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003772/1.963, allocations: 477.7 kB / 1.656 GB, free: 240.6 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02777/1.991, allocations: 13.49 MB / 1.669 GB, free: 227.1 MB / 1.295 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.07697/2.068, allocations: 43.09 MB / 1.711 GB, free: 183.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/2.086, allocations: 9.609 MB / 1.721 GB, free: 174.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008461/2.095, allocations: 4.643 MB / 1.725 GB, free: 169.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/2.096, allocations: 240.7 kB / 1.726 GB, free: 169.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01023/2.106, allocations: 7.361 MB / 1.733 GB, free: 161.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=629): time 1.147e-05/2.106, allocations: 0 / 1.733 GB, free: 161.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=629): time 0.02734/2.134, allocations: 12.61 MB / 1.745 GB, free: 148.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/2.134, allocations: 296.3 kB / 1.745 GB, free: 148.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/2.15, allocations: 9.363 MB / 1.754 GB, free: 138.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/2.152, allocations: 161.7 kB / 1.755 GB, free: 138.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005465/2.157, allocations: 5.365 MB / 1.76 GB, free: 133.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.003002/2.16, allocations: 2.27 MB / 1.762 GB, free: 131 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004681/2.165, allocations: 1.505 MB / 1.764 GB, free: 129.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.721e-05/2.165, allocations: 304.4 kB / 1.764 GB, free: 129.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008351/2.173, allocations: 4.428 MB / 1.768 GB, free: 124.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00966/2.183, allocations: 6.637 MB / 1.775 GB, free: 117.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01747/2.2, allocations: 10.98 MB / 1.785 GB, free: 105.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/2.2, allocations: 12 kB / 1.785 GB, free: 105.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02491/2.225, allocations: 11.96 MB / 1.797 GB, free: 93.43 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/2.225, allocations: 69.69 kB / 1.797 GB, free: 93.36 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.641e-05/2.225, allocations: 56 kB / 1.797 GB, free: 93.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.423e-05/2.225, allocations: 88 kB / 1.797 GB, free: 93.22 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008862/2.234, allocations: 1.822 MB / 1.799 GB, free: 91.39 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/2.234, allocations: 127.6 kB / 1.799 GB, free: 91.27 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009857/2.244, allocations: 1.022 MB / 1.8 GB, free: 90.24 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/2.246, allocations: 355.9 kB / 1.801 GB, free: 89.89 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01416/2.26, allocations: 8.198 MB / 1.809 GB, free: 81.68 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009492/2.27, allocations: 6.637 MB / 1.815 GB, free: 74.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01745/2.287, allocations: 10.98 MB / 1.826 GB, free: 62.41 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.962e-05/2.287, allocations: 16 kB / 1.826 GB, free: 62.39 MB / 1.295 GB Notification: Performance of matching and sorting (n=966) (initialization_lambda0): time 0.02507/2.312, allocations: 11.95 MB / 1.837 GB, free: 50.37 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/2.312, allocations: 77.62 kB / 1.837 GB, free: 50.29 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.96e-05/2.312, allocations: 56 kB / 1.838 GB, free: 50.23 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/2.312, allocations: 88 kB / 1.838 GB, free: 50.15 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008707/2.321, allocations: 1.825 MB / 1.839 GB, free: 48.32 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001499/2.321, allocations: 134.2 kB / 1.84 GB, free: 48.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009853/2.331, allocations: 0.9143 MB / 1.84 GB, free: 47.28 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/2.333, allocations: 355.9 kB / 1.841 GB, free: 46.93 MB / 1.295 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 (957): * Single equations (assignments): 956 * 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.002974/2.336, allocations: 0.6542 MB / 1.841 GB, free: 46.27 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00385/2.34, allocations: 0.9433 MB / 1.842 GB, free: 45.32 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/2.362, allocations: 10.19 MB / 1.852 GB, free: 35.05 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01642/2.378, allocations: 8.187 MB / 1.86 GB, free: 26.79 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/2.378, allocations: 0 / 1.86 GB, free: 26.79 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007849/2.386, allocations: 2.361 MB / 1.863 GB, free: 24.41 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003429/2.39, allocations: 143.9 kB / 1.863 GB, free: 24.27 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00891/2.399, allocations: 0.5149 MB / 1.863 GB, free: 23.75 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/2.4, allocations: 400.3 kB / 1.864 GB, free: 23.36 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02271/2.423, allocations: 9.908 MB / 1.873 GB, free: 13.38 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02971/2.452, allocations: 15.91 MB / 1.889 GB, free: 13.33 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00943/2.462, allocations: 4.249 MB / 1.893 GB, free: 9.055 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01308/2.475, allocations: 6.471 MB / 1.899 GB, free: 2.617 MB / 1.311 GB Notification: Performance of Backend: time 6.01e-07/2.475, allocations: 0 / 1.899 GB, free: 2.617 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03965/2.514, allocations: 13.06 MB / 1.912 GB, free: 6.008 MB / 1.326 GB Notification: Performance of SimCode: time 0.06086/2.575, allocations: 26.54 MB / 1.938 GB, free: 11.54 MB / 1.358 GB Notification: Performance of Templates: time 0.4303/3.006, allocations: 274.5 MB / 2.206 GB, free: 10.71 MB / 1.623 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.62591380000231]