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.00145/0.00145, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.00177/0.001771, allocations: 194.4 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.18 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.486/2.486, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.19 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002175/0.3601, allocations: 0.5398 MB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.275e-05/0.3601, allocations: 4 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.3602, allocations: 4 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.3602, allocations: 3.938 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.3603, allocations: 0 / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.074e-05/0.3603, allocations: 4 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.3604, allocations: 4 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.3604, allocations: 0 / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.3605, allocations: 0 / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.3605, allocations: 4 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3605, allocations: 0 / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-06/0.3605, allocations: 0 / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.3605, allocations: 3.984 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.3606, allocations: 11.94 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.3607, allocations: 3.984 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3607, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3607, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3607, allocations: 4 kB / 1.019 GB, free: 9.27 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.0003499/0.361, allocations: 307.5 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3611, allocations: 12.95 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3611, allocations: 8.922 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3613, allocations: 160.4 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3613, allocations: 8.312 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.3613, allocations: 384 / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.3614, allocations: 38.2 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3614, allocations: 192 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3614, allocations: 3.938 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3614, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.3615, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3618, allocations: 383.5 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.3619, allocations: 177 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.362, allocations: 84.17 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.362, allocations: 75.28 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.3621, allocations: 105.8 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3621, allocations: 3.938 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.3622, allocations: 33.69 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3622, allocations: 130.7 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.3623, allocations: 93.86 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3623, allocations: 29.64 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.3624, allocations: 80.14 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.3624, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.3624, allocations: 13.72 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3625, allocations: 319 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-06/0.3626, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.3626, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.3626, allocations: 75.28 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.3626, allocations: 75.28 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.075e-05/0.3627, allocations: 37.62 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3627, allocations: 81.94 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.3628, allocations: 83.22 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-05/0.3628, allocations: 154.6 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.3628, allocations: 75.28 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.479e-05/0.3629, allocations: 156 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.363, allocations: 79.28 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.363, allocations: 87.2 kB / 1.022 GB, free: 6.129 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.0001231/0.3631, allocations: 265 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.3632, allocations: 101 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.3633, allocations: 112 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.498e-05/0.3633, allocations: 180.2 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.514e-05/0.3634, allocations: 184.2 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.3635, allocations: 180.2 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.3637, allocations: 409.2 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.3638, allocations: 108.9 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.3638, allocations: 101 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.335e-05/0.3639, allocations: 188.2 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.3639, allocations: 180.2 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.364, allocations: 180.6 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.304e-05/0.3641, allocations: 184.2 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3642, allocations: 311.8 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3643, allocations: 186 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.3644, allocations: 180.2 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3644, allocations: 112.9 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.3645, allocations: 176.3 kB / 1.025 GB, free: 2.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.3646, allocations: 109 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.3646, allocations: 75.28 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.564e-06/0.3646, allocations: 0 / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002439/0.3649, allocations: 3.938 kB / 1.026 GB, free: 2.453 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.0001345/0.365, allocations: 178.6 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.624e-05/0.365, allocations: 3.984 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3651, allocations: 0 / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.3651, allocations: 0 / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3655, allocations: 459.6 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.3657, allocations: 164.3 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.366, allocations: 0.669 MB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.308e-06/0.366, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.366, allocations: 7.438 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.366, allocations: 3.938 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of Templates: time 0.002109/0.3681, allocations: 168.7 kB / 1.027 GB, free: 0.7539 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 cvode -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