Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001562/0.001562, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001741/0.001741, allocations: 189.7 kB / 17.3 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.404/1.404, 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 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.64 kB / 0.8141 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3034, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001758/0.3052, allocations: 0.5538 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.703e-05/0.3052, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.3053, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.3053, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.3053, allocations: 3.938 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.643e-05/0.3054, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.3054, allocations: 4 kB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.3055, allocations: 4 kB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.3055, allocations: 7.984 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.3055, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3055, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.3055, allocations: 4 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3056, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3056, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.922e-05/0.3056, allocations: 7.922 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3056, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3057, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3057, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 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.0002811/0.3059, allocations: 323.5 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.306, allocations: 8.031 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.306, allocations: 4.938 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3061, allocations: 164.4 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3061, allocations: 384 / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3062, allocations: 384 / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.3062, allocations: 34.2 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.3062, allocations: 192 / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3063, allocations: 7.938 kB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3063, allocations: 0 / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.237e-05/0.3063, allocations: 4 kB / 0.9522 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.3066, allocations: 379.5 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.3067, allocations: 177 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.3067, allocations: 84.14 kB / 0.9529 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.3067, allocations: 79.28 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.3068, allocations: 109.9 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3068, allocations: 0 / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.072e-05/0.3069, allocations: 25.7 kB / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3069, allocations: 130.7 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.307, allocations: 93.86 kB / 0.9533 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.307, allocations: 25.83 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.3071, allocations: 92.08 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.3071, allocations: 3.938 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.3071, allocations: 13.72 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3072, allocations: 310.8 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.3072, allocations: 3.938 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.3072, allocations: 0 / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.3073, allocations: 75.28 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/0.3073, allocations: 79.28 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.396e-05/0.3073, allocations: 39.73 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/0.3074, allocations: 79.28 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.3074, allocations: 79.22 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.013e-05/0.3075, allocations: 154.6 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.589e-05/0.3075, allocations: 79.28 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.467e-05/0.3076, allocations: 154.5 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3077, allocations: 79.28 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3077, allocations: 83.22 kB / 0.9546 GB, free: 4.289 MB / 0.7325 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.0001131/0.3078, allocations: 264.3 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3079, allocations: 101 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.3079, allocations: 108.1 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.768e-05/0.308, allocations: 188.2 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.3081, allocations: 176.3 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.467e-05/0.3081, allocations: 188.2 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3084, allocations: 409.2 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.3084, allocations: 101 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.3084, allocations: 108.9 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.044e-05/0.3085, allocations: 180.3 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.3086, allocations: 184.2 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.918e-05/0.3086, allocations: 176.6 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.583e-05/0.3087, allocations: 180.2 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3088, allocations: 315.8 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.3089, allocations: 182 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.309, allocations: 184.3 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.3091, allocations: 112.9 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.3092, allocations: 176.3 kB / 0.9577 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3092, allocations: 101 kB / 0.9578 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.3092, allocations: 83.28 kB / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3092, allocations: 0 / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002395/0.3095, allocations: 0 / 0.9579 GB, free: 0.6211 MB / 0.7325 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.0001397/0.3096, allocations: 178.5 kB / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.518e-05/0.3097, allocations: 0 / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3097, allocations: 3.938 kB / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.3097, allocations: 4.094 kB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3101, allocations: 471.5 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.3103, allocations: 152.3 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3105, allocations: 0.6766 MB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.492e-06/0.3106, allocations: 0 / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.3106, allocations: 7.438 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3106, allocations: 4 kB / 0.9594 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.001807/0.3124, allocations: 173.9 kB / 0.9595 GB, free: 14.91 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches