Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006836/0.006836, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001471/0.001471, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 68.22 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3343, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001915/0.3362, allocations: 0.5404 MB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.547e-05/0.3363, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.3363, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.3364, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.3364, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.981e-05/0.3365, allocations: 3.938 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.3365, allocations: 11.98 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.3366, allocations: 3.984 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.3367, allocations: 4 kB / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.3367, allocations: 0 / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3367, allocations: 0 / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.3367, allocations: 4 kB / 1.089 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3367, allocations: 0 / 1.089 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.3368, allocations: 0 / 1.089 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.415e-05/0.3368, allocations: 3.938 kB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3368, allocations: 3.938 kB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3368, allocations: 0 / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3369, allocations: 0 / 1.089 GB, free: 0.9492 MB / 0.8419 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.0003536/0.3372, allocations: 319.6 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3373, allocations: 8.031 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3373, allocations: 4.938 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3374, allocations: 164.3 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3375, allocations: 384 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3375, allocations: 384 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3376, allocations: 29.64 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3376, allocations: 4 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3376, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3376, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.3377, allocations: 4 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.3381, allocations: 387.4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3382, allocations: 169.1 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3382, allocations: 80.14 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3383, allocations: 79.28 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.3383, allocations: 113.9 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3383, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.557e-05/0.3384, allocations: 30.02 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.3385, allocations: 126.7 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.3386, allocations: 97.86 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3386, allocations: 25.83 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.3386, allocations: 84.14 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.3387, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.3387, allocations: 13.72 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3388, allocations: 318.8 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-06/0.3388, allocations: 3.938 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.3388, allocations: 4 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.3389, allocations: 75.28 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.3389, allocations: 75.28 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.394e-05/0.339, allocations: 45.53 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.339, allocations: 80.84 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/0.3391, allocations: 79.28 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.955e-05/0.3391, allocations: 158.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.383e-05/0.3391, allocations: 75.28 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-05/0.3392, allocations: 154.5 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.3393, allocations: 84.64 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3393, allocations: 75.28 kB / 1.091 GB, free: 13.81 MB / 0.8575 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.000119/0.3394, allocations: 268.3 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3395, allocations: 104.9 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.3396, allocations: 104.1 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-05/0.3396, allocations: 192.2 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-05/0.3397, allocations: 180.2 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/0.3398, allocations: 176.3 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.34, allocations: 413.1 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.34, allocations: 105 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.3401, allocations: 101 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-05/0.3402, allocations: 188.2 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.3402, allocations: 180.3 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.199e-05/0.3403, allocations: 184.5 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.3404, allocations: 180.2 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3405, allocations: 311.7 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3406, allocations: 182.1 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.3407, allocations: 188.2 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3408, allocations: 101 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3409, allocations: 180.2 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.341, allocations: 101 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.341, allocations: 83.28 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002493/0.3413, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 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.000166/0.3415, allocations: 179 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.3415, allocations: 7.938 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.3415, allocations: 3.938 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.3415, allocations: 3.938 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3419, allocations: 455.8 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.3422, allocations: 152.3 kB / 1.095 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3424, allocations: 0.6729 MB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.935e-06/0.3425, allocations: 0 / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.3425, allocations: 7.438 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3425, allocations: 0 / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.0021/0.3446, allocations: 164.9 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches