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.001616/0.001616, allocations: 108.7 kB / 15.99 MB, free: 5.91 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.001565/0.001565, allocations: 192.2 kB / 16.91 MB, free: 5.754 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.576/2.576, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 72.44 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003692/0.3285, allocations: 2.248 MB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3296, allocations: 0.5102 MB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.3297, allocations: 4 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.33, allocations: 39.66 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3301, allocations: 27.78 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3304, allocations: 123.9 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.3308, allocations: 368.2 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.3311, allocations: 177.1 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3313, allocations: 127.5 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3315, allocations: 147.2 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.3316, allocations: 40 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.3316, allocations: 40 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.3317, allocations: 75.77 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3318, allocations: 163.1 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3322, allocations: 375.4 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3323, allocations: 3.938 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.523 MB / 0.795 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.001037/0.3333, allocations: 0.6062 MB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3334, allocations: 8.922 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.3334, allocations: 40.47 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.3339, allocations: 315.4 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3339, allocations: 20.94 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.334, allocations: 24.38 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.3346, allocations: 288.2 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3346, allocations: 3.938 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.3346, allocations: 15.98 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3346, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.3352, allocations: 202.1 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3367, allocations: 0.9897 MB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3372, allocations: 272.4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3375, allocations: 108.3 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3375, allocations: 0 / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3376, allocations: 38.55 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 8.91e-07/0.3376, allocations: 0 / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.000736/0.3383, allocations: 263.3 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3384, allocations: 59.34 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3387, allocations: 266.7 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3387, allocations: 29.7 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3389, allocations: 180 kB / 1.025 GB, free: 2.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3389, allocations: 55.2 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.339, allocations: 41.7 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3392, allocations: 334.8 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3394, allocations: 84.67 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3396, allocations: 117.1 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3401, allocations: 192.1 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3401, allocations: 0 / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005402/0.3406, allocations: 254.7 kB / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3407, allocations: 7.938 kB / 1.026 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3407, allocations: 0 / 1.026 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3407, allocations: 4 kB / 1.026 GB, free: 1.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3409, allocations: 47.91 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.341, allocations: 4 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3411, allocations: 31.8 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3411, allocations: 8 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002705/0.3414, allocations: 180.1 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002072/0.3416, allocations: 111.5 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003657/0.342, allocations: 186.4 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.133e-06/0.342, allocations: 0 / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004645/0.3425, allocations: 245.2 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.3425, allocations: 4 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3425, allocations: 4 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.3425, allocations: 0 / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3427, allocations: 43.97 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3427, allocations: 8 kB / 1.027 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3429, allocations: 19.84 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3429, allocations: 12.11 kB / 1.027 GB, free: 0.5586 MB / 0.795 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.0001375/0.343, allocations: 196.1 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3431, allocations: 23.72 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.3436, allocations: 214 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3437, allocations: 4 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3437, allocations: 4 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3437, allocations: 3.984 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3447, allocations: 0.6192 MB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3447, allocations: 0 / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3449, allocations: 31.97 kB / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3449, allocations: 11.94 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3449, allocations: 4 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3449, allocations: 3.938 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.345, allocations: 0 / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.3457, allocations: 405.2 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.3458, allocations: 100.8 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.3458, allocations: 8 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.346, allocations: 7.984 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3461, allocations: 19.92 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3461, allocations: 11.92 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000197/0.3463, allocations: 190 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3463, allocations: 0 / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003884/0.3467, allocations: 87.75 kB / 1.029 GB, free: 14.54 MB / 0.8106 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.0001438/0.3468, allocations: 111.7 kB / 1.029 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.3476, allocations: 285.5 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3476, allocations: 4.125 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3478, allocations: 83.89 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3483, allocations: 38.94 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.3493, allocations: 0.5895 MB / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3497, allocations: 0.7596 MB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.3498, allocations: 23.44 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.3498, allocations: 0 / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.005697/0.3555, allocations: 3.137 MB / 1.034 GB, free: 9.461 MB / 0.8106 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=400 -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/jenkins1/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