Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_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_10_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.001381/0.001381, allocations: 115.4 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.001522/0.001522, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15 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.559/2.559, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 69.14 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001969/0.3291, allocations: 0.5437 MB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.566e-05/0.3291, allocations: 0 / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3291, allocations: 0 / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.3292, allocations: 4 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.341e-05/0.3292, allocations: 4 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.178e-05/0.3293, allocations: 0 / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.3293, allocations: 8 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.3294, allocations: 0 / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.3294, allocations: 4 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.856e-05/0.3294, allocations: 3.984 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3294, allocations: 0 / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-06/0.3294, allocations: 0 / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.3295, allocations: 3.938 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.3295, allocations: 3.938 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.272e-05/0.3295, allocations: 4 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3295, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3295, allocations: 4 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3296, allocations: 0 / 1.019 GB, free: 9.285 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.0002921/0.3299, allocations: 315.5 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3299, allocations: 12.95 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.3299, allocations: 4.922 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.33, allocations: 164.4 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3301, allocations: 384 / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.3301, allocations: 4.375 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.3302, allocations: 30.27 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.3302, allocations: 192 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3302, allocations: 3.938 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3302, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.3302, allocations: 3.938 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.3305, allocations: 379.5 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.3306, allocations: 185.1 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.3307, allocations: 80.14 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.3307, allocations: 75.28 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3308, allocations: 113.8 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.063e-06/0.3308, allocations: 0 / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.523e-05/0.3308, allocations: 33.64 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3309, allocations: 130.6 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.331, allocations: 97.86 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.331, allocations: 25.7 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.331, allocations: 80.14 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3311, allocations: 4 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.3311, allocations: 9.719 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3312, allocations: 315 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.3312, allocations: 0 / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-06/0.3312, allocations: 3.984 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.3312, allocations: 75.28 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-05/0.3313, allocations: 75.28 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.638e-05/0.3313, allocations: 37.58 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3314, allocations: 79.28 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.3314, allocations: 83.28 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.19e-05/0.3315, allocations: 158.5 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.24e-05/0.3315, allocations: 75.28 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/0.3316, allocations: 152.1 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.3317, allocations: 91.2 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3317, allocations: 75.28 kB / 1.022 GB, free: 6.133 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.0001172/0.3318, allocations: 269.4 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.3319, allocations: 104.9 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.3319, allocations: 108.1 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/0.332, allocations: 176.3 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-05/0.3321, allocations: 184.2 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.3321, allocations: 180.3 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3324, allocations: 417.1 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.3324, allocations: 101 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.3325, allocations: 104.9 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.747e-05/0.3325, allocations: 180.3 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/0.3326, allocations: 176.3 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.815e-05/0.3327, allocations: 184.5 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.738e-05/0.3327, allocations: 184.2 kB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3329, allocations: 307.7 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.333, allocations: 186.1 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.3331, allocations: 184.2 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.3331, allocations: 108.9 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3332, allocations: 180.2 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.3333, allocations: 105 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.3333, allocations: 75.28 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3333, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002449/0.3336, allocations: 0 / 1.026 GB, free: 2.469 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.0001368/0.3337, allocations: 186.6 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 3.767e-05/0.3337, allocations: 3.938 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3337, allocations: 0 / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.3338, allocations: 3.938 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3341, allocations: 459.6 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.3344, allocations: 164.3 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3346, allocations: 0.6729 MB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.544e-06/0.3346, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.3347, allocations: 7.438 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3347, allocations: 0 / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of Templates: time 0.001797/0.3365, allocations: 168.9 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches