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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001099/0.001099, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437.7 MB / 0.7117 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 15.92 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9061, allocations: 153.8 MB / 1.022 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002484/0.9087, allocations: 1.804 MB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.9097, allocations: 490.7 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.9099, allocations: 7.938 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.9101, allocations: 27.72 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.9102, allocations: 35.66 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.9105, allocations: 79.92 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.9108, allocations: 312.3 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.911, allocations: 128.2 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.9112, allocations: 79.52 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.9113, allocations: 91.42 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.9114, allocations: 8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.9114, allocations: 12 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.9115, allocations: 39.77 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.9115, allocations: 73.58 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.9119, allocations: 368.9 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9119, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9119, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9119, allocations: 0 / 1.026 GB, free: 12.55 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.0009797/0.9129, allocations: 0.5629 MB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9129, allocations: 8.562 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.913, allocations: 43.53 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.9135, allocations: 306.1 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.9136, allocations: 16.56 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.9136, allocations: 31.89 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.9142, allocations: 287.6 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9142, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.9143, allocations: 12 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.9143, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.9148, allocations: 222.1 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.9163, allocations: 0.9937 MB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.9168, allocations: 279.9 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.917, allocations: 116.8 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.917, allocations: 0 / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.9171, allocations: 38.56 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.9171, allocations: 0 / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007385/0.9178, allocations: 279.4 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.9179, allocations: 55.34 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.9182, allocations: 274.7 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.9182, allocations: 33.69 kB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.9184, allocations: 180 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.9184, allocations: 55.2 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9185, allocations: 4 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9186, allocations: 334.8 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.9188, allocations: 87.81 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.919, allocations: 118.9 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.9192, allocations: 95.89 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9192, allocations: 0 / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005012/0.9197, allocations: 267.1 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.9198, allocations: 116.6 kB / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9198, allocations: 7.938 kB / 1.03 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.9199, allocations: 0 / 1.03 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.9201, allocations: 43.97 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9201, allocations: 4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.9203, allocations: 35.73 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.9203, allocations: 8 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.9203, allocations: 4 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003776/0.9207, allocations: 207.8 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9207, allocations: 4 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-06/0.9207, allocations: 0 / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.9209, allocations: 47.91 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9209, allocations: 7.953 kB / 1.031 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.921, allocations: 31.86 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.921, allocations: 4 kB / 1.031 GB, free: 7.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.9212, allocations: 225.1 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.9213, allocations: 19.72 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.9218, allocations: 237.5 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9218, allocations: 0 / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.9218, allocations: 7.938 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9218, allocations: 0 / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.9227, allocations: 0.6387 MB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9227, allocations: 0 / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.9229, allocations: 39.97 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9229, allocations: 7.875 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.923, allocations: 12.02 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.923, allocations: 7.984 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.923, allocations: 0 / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.9237, allocations: 408.6 kB / 1.032 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.9238, allocations: 104.9 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.9238, allocations: 8 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.924, allocations: 19.94 kB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.924, allocations: 15.97 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.924, allocations: 4 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001857/0.9242, allocations: 190 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9242, allocations: 0 / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003863/0.9246, allocations: 83.69 kB / 1.033 GB, free: 5.012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.9248, allocations: 123.1 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.9255, allocations: 293.2 kB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9255, allocations: 0 / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.9257, allocations: 102.4 kB / 1.033 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.9261, allocations: 36.53 kB / 1.033 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.9271, allocations: 0.5442 MB / 1.034 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.9274, allocations: 0.7599 MB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.9276, allocations: 25.94 kB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.9276, allocations: 23.44 kB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.9277, allocations: 0 / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of Templates: time 0.005324/0.933, allocations: 2.036 MB / 1.037 GB, free: 1.043 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