Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 108.7 kB / 16.37 MB, free: 6.473 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.001433/0.001434, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.702/2.702, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.03 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001947/0.3643, allocations: 0.5803 MB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.161e-05/0.3644, allocations: 7.938 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.3644, allocations: 0 / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.3645, allocations: 4 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.3645, allocations: 0 / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 2.899e-05/0.3645, allocations: 0 / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.3646, allocations: 7.984 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.3647, allocations: 7.984 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.3647, allocations: 0 / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.974e-05/0.3647, allocations: 3.938 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3647, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.3647, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3648, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.3648, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.708e-05/0.3649, allocations: 11.94 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3649, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3649, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3649, allocations: 0 / 1.027 GB, free: 1.395 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.0003272/0.3652, allocations: 315.6 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3653, allocations: 8.031 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.3653, allocations: 4.875 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3654, allocations: 160.4 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3655, allocations: 4.359 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3655, allocations: 8.375 kB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.3656, allocations: 26.27 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3656, allocations: 192 / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3656, allocations: 3.938 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3656, allocations: 3.938 kB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.3656, allocations: 4 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.366, allocations: 383.5 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3661, allocations: 181.1 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3661, allocations: 80.14 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.3662, allocations: 79.27 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/0.3662, allocations: 105.8 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3662, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.624e-05/0.3663, allocations: 36.03 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.3664, allocations: 130.7 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.3665, allocations: 97.86 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3665, allocations: 25.7 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.3666, allocations: 80.14 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.3666, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.3666, allocations: 9.719 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3667, allocations: 315 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.3667, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.3667, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.3668, allocations: 75.28 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.3668, allocations: 75.28 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.985e-05/0.3669, allocations: 33.58 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.3669, allocations: 83.28 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/0.3669, allocations: 79.28 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.176e-05/0.367, allocations: 154.6 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.367, allocations: 79.22 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-05/0.3671, allocations: 162.5 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.3672, allocations: 79.22 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.3672, allocations: 75.28 kB / 1.03 GB, free: 14.26 MB / 0.8106 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.0001252/0.3674, allocations: 268.3 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3674, allocations: 112.9 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.3675, allocations: 108 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.73e-05/0.3676, allocations: 180.2 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-05/0.3677, allocations: 184.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-05/0.3677, allocations: 176.3 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.368, allocations: 417.2 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.368, allocations: 104.9 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.3681, allocations: 108.9 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-05/0.3682, allocations: 180.2 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.3682, allocations: 176.3 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.624e-05/0.3683, allocations: 184.5 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.566e-05/0.3684, allocations: 188.3 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3685, allocations: 307.7 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.3686, allocations: 190 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.3687, allocations: 180.2 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.3688, allocations: 105 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.3689, allocations: 180.3 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.3689, allocations: 104.9 kB / 1.033 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.369, allocations: 79.28 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002434/0.3692, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 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.0001658/0.3694, allocations: 182.6 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.207e-05/0.3695, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3695, allocations: 4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3695, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3698, allocations: 459.6 kB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.3702, allocations: 160.4 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3705, allocations: 0.6768 MB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.516e-06/0.3705, allocations: 0 / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3705, allocations: 7.438 kB / 1.035 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3705, allocations: 0 / 1.035 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of Templates: time 0.002201/0.3727, allocations: 160.9 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches