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.001134/0.001133, allocations: 99.58 kB / 16.02 MB, free: 76 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.001587/0.001587, allocations: 181 kB / 16.92 MB, free: 6.918 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003956, allocations: 11.44 kB / 0.9035 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0007991/0.317, allocations: 323.4 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.186e-05/0.3171, allocations: 4 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.3171, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.3171, allocations: 4 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.3171, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.227e-05/0.3172, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.3172, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.3173, allocations: 7.938 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.3173, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.798e-05/0.3173, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3174, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-06/0.3174, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3174, allocations: 3.984 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3174, allocations: 25.7 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.477e-05/0.3175, allocations: 15.92 kB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.3175, allocations: 0 / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3175, allocations: 0 / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3175, allocations: 0 / 1.06 GB, free: 4.543 MB / 0.8106 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.0002789/0.3178, allocations: 311.5 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3178, allocations: 12.09 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3179, allocations: 0.9375 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.318, allocations: 164.3 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.318, allocations: 4.359 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.318, allocations: 4.375 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.3181, allocations: 30.27 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3181, allocations: 192 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3182, allocations: 3.938 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3182, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.3182, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.3185, allocations: 383.5 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.3187, allocations: 173.1 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3187, allocations: 84.14 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.3187, allocations: 79.31 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3188, allocations: 105.8 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.3188, allocations: 0 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.342e-05/0.3189, allocations: 37.67 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.319, allocations: 126.7 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.319, allocations: 101.8 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3191, allocations: 25.7 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.3191, allocations: 80.14 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.3191, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.3191, allocations: 9.719 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3193, allocations: 315 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.3193, allocations: 4 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.3193, allocations: 0 / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.3193, allocations: 75.28 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/0.3193, allocations: 75.28 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.041e-05/0.3194, allocations: 37.58 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.3195, allocations: 80.84 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/0.3195, allocations: 83.2 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.844e-05/0.3196, allocations: 158.5 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.3196, allocations: 87.22 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.321e-05/0.3197, allocations: 154.5 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.3198, allocations: 83.22 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3198, allocations: 75.28 kB / 1.063 GB, free: 1.406 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.0001216/0.3199, allocations: 264.3 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.32, allocations: 109 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.32, allocations: 112 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.075e-05/0.3201, allocations: 180.3 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/0.3202, allocations: 180.2 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.791e-05/0.3203, allocations: 176.3 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.3205, allocations: 409.2 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.561e-05/0.3206, allocations: 108.9 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.3206, allocations: 105 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.685e-05/0.3207, allocations: 180.2 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.3208, allocations: 180.6 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.674e-05/0.3208, allocations: 180.3 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-05/0.3209, allocations: 188.2 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3211, allocations: 311.7 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.3211, allocations: 178.1 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.3212, allocations: 180.3 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.3213, allocations: 112.9 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.3214, allocations: 176.3 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.3214, allocations: 108.9 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.3215, allocations: 79.28 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3215, allocations: 0 / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.3217, allocations: 0 / 1.066 GB, free: 13.74 MB / 0.8262 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.0001752/0.3219, allocations: 174.6 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.988e-05/0.322, allocations: 4 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.322, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.322, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3224, allocations: 0.5262 MB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.3226, allocations: 187.6 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3229, allocations: 0.677 MB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.3229, allocations: 7.438 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.323, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.001448/0.3244, allocations: 319.8 kB / 1.068 GB, free: 11.78 MB / 0.8262 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 -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