Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001511/0.001511, allocations: 104 kB / 16.36 MB, free: 6.285 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.001633/0.001633, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.78 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3181, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002257/0.3204, allocations: 0.557 MB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.404e-05/0.3205, allocations: 0 / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.3206, allocations: 3.938 kB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.3207, allocations: 0 / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.3207, allocations: 4 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.993e-05/0.3207, allocations: 0 / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.3208, allocations: 0 / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.3209, allocations: 4 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.3209, allocations: 7.938 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.3209, allocations: 3.984 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.321, allocations: 0 / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-06/0.321, allocations: 0 / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.321, allocations: 4 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.321, allocations: 3.938 kB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.96e-05/0.3211, allocations: 3.984 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3211, allocations: 0 / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3211, allocations: 4 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3211, allocations: 0 / 1.027 GB, free: 1.492 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.0003348/0.3215, allocations: 307.6 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3215, allocations: 12.06 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3216, allocations: 0.9375 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3217, allocations: 168.4 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3217, allocations: 384 / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.3217, allocations: 4.312 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.3218, allocations: 30.27 kB / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3218, allocations: 192 / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3219, allocations: 7.938 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3219, allocations: 0 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.3219, allocations: 0 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3222, allocations: 383.5 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.3223, allocations: 181 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3224, allocations: 82.58 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3224, allocations: 79.28 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.3225, allocations: 109.8 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3225, allocations: 0 / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.875e-05/0.3226, allocations: 29.69 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.3227, allocations: 134.6 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.3228, allocations: 97.86 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3228, allocations: 25.7 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3228, allocations: 80.14 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3228, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3229, allocations: 9.719 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.323, allocations: 318.8 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/0.323, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.323, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.3231, allocations: 75.28 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/0.3231, allocations: 79.41 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.682e-05/0.3232, allocations: 37.62 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.3232, allocations: 82.09 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.3233, allocations: 83.22 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.54e-05/0.3233, allocations: 154.5 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.609e-05/0.3234, allocations: 79.22 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.012e-05/0.3234, allocations: 154.6 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.3235, allocations: 83.28 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3235, allocations: 79.22 kB / 1.03 GB, free: 14.35 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.0001257/0.3237, allocations: 268.3 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.3237, allocations: 101 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.3238, allocations: 112 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-05/0.3239, allocations: 184.3 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.994e-05/0.324, allocations: 176.3 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/0.3241, allocations: 188.2 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3243, allocations: 401.2 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/0.3244, allocations: 104.9 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.3244, allocations: 113 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.3245, allocations: 180.3 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.3246, allocations: 180.2 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.984e-05/0.3246, allocations: 176.6 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.764e-05/0.3247, allocations: 180.2 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3249, allocations: 319.7 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.325, allocations: 186 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.325, allocations: 176.3 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3251, allocations: 108.9 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3252, allocations: 180.3 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.3252, allocations: 116.9 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.3253, allocations: 75.28 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3253, allocations: 0 / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002592/0.3256, allocations: 0 / 1.034 GB, free: 10.67 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.0001675/0.3257, allocations: 174.5 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.681e-05/0.3258, allocations: 7.922 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3258, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3258, allocations: 4.094 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3262, allocations: 463.6 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.3265, allocations: 156.3 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3268, allocations: 0.669 MB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.646e-06/0.3268, allocations: 0 / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.3268, allocations: 7.438 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.3268, allocations: 4 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of Templates: time 0.002264/0.3291, allocations: 168.7 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches