Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002209/0.002209, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.455/2.455, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6048, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003518/0.6084, allocations: 2.255 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000931/0.6093, allocations: 0.5062 MB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.6095, allocations: 8 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.6097, allocations: 27.83 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.6099, allocations: 31.73 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.6102, allocations: 123.9 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.6105, allocations: 336.1 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.6108, allocations: 173.1 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.6109, allocations: 103.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.6111, allocations: 119.3 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.6111, allocations: 16 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/0.6111, allocations: 16 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.6112, allocations: 63.64 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.6113, allocations: 123.2 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.6117, allocations: 444.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6117, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6117, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6117, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009509/0.6126, allocations: 0.6003 MB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6127, allocations: 8.031 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.6128, allocations: 40.47 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.6132, allocations: 323.3 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6132, allocations: 12.94 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.6133, allocations: 24.38 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.6138, allocations: 292.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6139, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.6139, allocations: 12 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6139, allocations: 11.94 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.6144, allocations: 206.1 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.6158, allocations: 0.9858 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.6163, allocations: 275.9 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.6165, allocations: 104.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6166, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.6166, allocations: 30.56 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.6166, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007059/0.6173, allocations: 263.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.6174, allocations: 55.34 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.6177, allocations: 274.7 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.6177, allocations: 29.7 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6178, allocations: 180 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.6179, allocations: 55.2 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.6179, allocations: 37.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6181, allocations: 338.8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.6183, allocations: 80.67 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.6185, allocations: 117.1 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.6189, allocations: 189.9 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.619, allocations: 4 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00052/0.6195, allocations: 255.1 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6195, allocations: 8 kB / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6195, allocations: 0 / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6195, allocations: 4 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.6198, allocations: 43.91 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6198, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.62, allocations: 31.73 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.62, allocations: 7.938 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002488/0.6202, allocations: 184.2 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001908/0.6204, allocations: 110.3 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003506/0.6208, allocations: 185.8 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.6208, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004488/0.6213, allocations: 250.5 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.6213, allocations: 6.188 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.6213, allocations: 0 / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.6213, allocations: 4 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.6215, allocations: 43.92 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.6215, allocations: 3.984 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.6216, allocations: 19.84 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.6217, allocations: 8 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001052/0.6218, allocations: 200.7 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.6218, allocations: 27.72 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.6224, allocations: 211.7 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6224, allocations: 0 / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6224, allocations: 0 / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6224, allocations: 4 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.6233, allocations: 0.627 MB / 1.027 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6233, allocations: 8.062 kB / 1.027 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.6235, allocations: 31.97 kB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6235, allocations: 0 / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.6235, allocations: 8 kB / 1.027 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6235, allocations: 4 kB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6235, allocations: 0 / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.6243, allocations: 397.8 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.6243, allocations: 108.8 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.6244, allocations: 4.062 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6246, allocations: 15.98 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.6246, allocations: 11.98 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6246, allocations: 15.92 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6248, allocations: 190 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6248, allocations: 0 / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003919/0.6252, allocations: 83.69 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001132/0.6253, allocations: 107.2 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.626, allocations: 275.6 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.626, allocations: 0 / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.6263, allocations: 92.39 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.6267, allocations: 38.55 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.6276, allocations: 0.5607 MB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.6279, allocations: 0.7638 MB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.628, allocations: 29.94 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.6281, allocations: 23.42 kB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6281, allocations: 0 / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of Templates: time 0.00504/0.6332, allocations: 2.132 MB / 1.032 GB, free: 2.426 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches