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.001665/0.001665, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.509/1.509, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.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.682/2.682, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 71.88 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.719, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00205/0.7211, allocations: 0.6238 MB / 1.018 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.028e-05/0.7211, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.7212, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.7212, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.795e-05/0.7213, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.438e-05/0.7213, allocations: 7.938 kB / 1.018 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.7214, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.7214, allocations: 4 kB / 1.018 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.7214, allocations: 0 / 1.018 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.7215, allocations: 4 kB / 1.018 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.7215, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-06/0.7215, allocations: 3.938 kB / 1.018 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.7215, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.7215, allocations: 4 kB / 1.018 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.323e-05/0.7216, allocations: 3.984 kB / 1.018 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7216, allocations: 0 / 1.018 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7216, allocations: 4 kB / 1.018 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7216, allocations: 0 / 1.018 GB, free: 2.301 MB / 0.7637 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.0003393/0.7219, allocations: 313.2 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.722, allocations: 11.97 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.722, allocations: 0.9375 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7221, allocations: 164.4 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.7222, allocations: 8.375 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.7222, allocations: 384 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.7223, allocations: 30.27 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.7223, allocations: 192 / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7223, allocations: 3.938 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.7223, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.7223, allocations: 11.92 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.7226, allocations: 379.5 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.7227, allocations: 173.1 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.7228, allocations: 80.14 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.7228, allocations: 75.28 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.7229, allocations: 109.8 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.7229, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.547e-05/0.723, allocations: 37.64 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.723, allocations: 126.7 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.7231, allocations: 101.8 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7231, allocations: 25.7 kB / 1.02 GB, free: 492 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.7232, allocations: 80.14 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.7232, allocations: 0 / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.7232, allocations: 9.719 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7233, allocations: 314.8 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.7233, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.7234, allocations: 8.125 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.7234, allocations: 75.28 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.7234, allocations: 75.28 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.685e-05/0.7235, allocations: 33.58 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.7235, allocations: 83.28 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.616e-05/0.7236, allocations: 79.27 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.743e-05/0.7237, allocations: 154.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.13e-05/0.7237, allocations: 79.28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.923e-05/0.7237, allocations: 162.6 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.7238, allocations: 83.22 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.7239, allocations: 75.28 kB / 1.021 GB, free: 15.16 MB / 0.7794 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.0001525/0.724, allocations: 264.3 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.7241, allocations: 112.9 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.7242, allocations: 108.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/0.7242, allocations: 180.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.7243, allocations: 188.2 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-05/0.7244, allocations: 176.3 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.7246, allocations: 405.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.7246, allocations: 105 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.7247, allocations: 112.9 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-05/0.7247, allocations: 180.2 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.7248, allocations: 176.3 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.357e-05/0.7249, allocations: 180.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-05/0.7249, allocations: 180.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.7251, allocations: 320.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.7252, allocations: 178.1 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.7252, allocations: 180.2 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.7253, allocations: 105 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.7254, allocations: 196.2 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.7254, allocations: 101 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.7255, allocations: 79.28 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7255, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002779/0.7258, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 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.0001448/0.7259, allocations: 180.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.343e-05/0.726, allocations: 4.094 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.726, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.726, allocations: 7.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.7264, allocations: 0.5224 MB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.7266, allocations: 185.8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7268, allocations: 0.677 MB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.7268, allocations: 7.438 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7268, allocations: 0 / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.001404/0.7283, allocations: 315.9 kB / 1.026 GB, free: 9.531 MB / 0.7794 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 -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