Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001635/0.001635, allocations: 196 kB / 17.31 MB, free: 5.613 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.06 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001881/0.3431, allocations: 0.5579 MB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.648e-05/0.3431, allocations: 0 / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.3432, allocations: 0 / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.3432, allocations: 3.938 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.3432, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.413e-05/0.3433, allocations: 4 kB / 1.019 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.3433, allocations: 8 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.3434, allocations: 0 / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.534e-05/0.3434, allocations: 0 / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.3434, allocations: 0 / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3434, allocations: 4 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.3435, allocations: 4 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3435, allocations: 3.938 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.3435, allocations: 3.984 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.3436, allocations: 4 kB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3436, allocations: 0 / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3436, allocations: 0 / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3436, allocations: 0 / 1.019 GB, free: 9.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002957/0.3439, allocations: 315.5 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3439, allocations: 12.92 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.344, allocations: 4.938 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3441, allocations: 160.4 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3441, allocations: 384 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.3441, allocations: 384 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.3442, allocations: 34.2 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3442, allocations: 192 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3442, allocations: 7.938 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3443, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.515e-05/0.3443, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.3446, allocations: 383.5 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.3447, allocations: 181 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.3448, allocations: 80.14 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3448, allocations: 75.28 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.3448, allocations: 117.8 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3449, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.496e-05/0.3449, allocations: 29.69 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.345, allocations: 126.7 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.3451, allocations: 101.8 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3451, allocations: 25.7 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.3451, allocations: 88.25 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3452, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.3452, allocations: 13.72 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3453, allocations: 310.8 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-06/0.3453, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.3453, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.3454, allocations: 79.27 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.3454, allocations: 75.28 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.01e-05/0.3455, allocations: 37.64 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.3455, allocations: 83.28 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.3455, allocations: 79.22 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.057e-05/0.3456, allocations: 154.6 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.3456, allocations: 79.22 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-05/0.3457, allocations: 152.1 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.3458, allocations: 79.27 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.3458, allocations: 87.22 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001138/0.3459, allocations: 264.3 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.346, allocations: 101 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.346, allocations: 108 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-05/0.3461, allocations: 180.3 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-05/0.3462, allocations: 184.2 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/0.3462, allocations: 184.2 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.3464, allocations: 409.2 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/0.3465, allocations: 108.9 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.3465, allocations: 101 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-05/0.3466, allocations: 176.3 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.3466, allocations: 196.2 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.852e-05/0.3467, allocations: 176.6 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.655e-05/0.3468, allocations: 184.2 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3469, allocations: 307.8 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.347, allocations: 190 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.347, allocations: 184.2 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.3471, allocations: 104.9 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.3472, allocations: 180.2 kB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3472, allocations: 101 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.3472, allocations: 91.22 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3472, allocations: 0 / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002453/0.3475, allocations: 0 / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0001476/0.3476, allocations: 178.5 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.273e-05/0.3477, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3477, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3477, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.348, allocations: 463.7 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.3483, allocations: 156.3 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3485, allocations: 0.6729 MB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.965e-06/0.3485, allocations: 7.922 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.3485, allocations: 7.438 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3485, allocations: 0 / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of Templates: time 0.001705/0.3502, allocations: 167.7 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches