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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005793/0.005793, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001548/0.001548, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.91 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001607/0.3169, allocations: 0.5455 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.52e-05/0.3169, allocations: 0 / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.317, allocations: 0 / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.317, allocations: 0 / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.318e-05/0.317, allocations: 0 / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.871e-05/0.3171, allocations: 7.938 kB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.3171, allocations: 4 kB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.3171, allocations: 64 / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.3172, allocations: 0 / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.499e-05/0.3172, allocations: 0 / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3172, allocations: 0 / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-06/0.3172, allocations: 4 kB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.3172, allocations: 4 kB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.3172, allocations: 0 / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.027e-05/0.3173, allocations: 7.922 kB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3173, allocations: 4 kB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3173, allocations: 3.938 kB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3173, allocations: 0 / 1.208 GB, free: 9.617 MB / 0.9669 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.0002517/0.3176, allocations: 313.8 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3176, allocations: 8.625 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.3177, allocations: 34.75 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.699e-05/0.3177, allocations: 4.938 kB / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3178, allocations: 164.4 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.3178, allocations: 384 / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-06/0.3178, allocations: 384 / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/0.3179, allocations: 34.27 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3179, allocations: 3.938 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.3179, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3179, allocations: 3.984 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.3179, allocations: 3.938 kB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.3182, allocations: 387.4 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.3183, allocations: 169.1 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.3183, allocations: 80.14 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3184, allocations: 79.31 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3184, allocations: 109.8 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3184, allocations: 3.938 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.199e-05/0.3185, allocations: 25.7 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3185, allocations: 126.7 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.3186, allocations: 101.8 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3186, allocations: 25.7 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.3187, allocations: 84.12 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3187, allocations: 8.062 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.3187, allocations: 13.72 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.3188, allocations: 310.8 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.3188, allocations: 75.28 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/0.3189, allocations: 83.22 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.715e-05/0.3189, allocations: 41.56 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.319, allocations: 84.84 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.319, allocations: 75.28 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.184e-05/0.319, allocations: 158.5 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.3191, allocations: 75.28 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-05/0.3191, allocations: 150.6 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.3192, allocations: 79.22 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3192, allocations: 87.28 kB / 1.211 GB, free: 6.434 MB / 0.9669 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 9.83e-05/0.3193, allocations: 268.3 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3194, allocations: 104.9 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.3194, allocations: 108.1 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.3195, allocations: 176.8 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.273e-05/0.3195, allocations: 188.2 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/0.3196, allocations: 184.2 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3198, allocations: 405.1 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/0.3198, allocations: 101.3 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.3199, allocations: 105 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.3199, allocations: 184.2 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.32, allocations: 188.3 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.655e-05/0.32, allocations: 180.2 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.083e-05/0.3201, allocations: 176.3 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3202, allocations: 311.7 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.3203, allocations: 182.1 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.3204, allocations: 184.2 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.3204, allocations: 101 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.3205, allocations: 184.2 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.3205, allocations: 101 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.3206, allocations: 83.28 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3206, allocations: 4.094 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002597/0.3208, allocations: 0 / 1.214 GB, free: 2.77 MB / 0.9669 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.0003643/0.3212, allocations: 0.8126 MB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.424e-05/0.3212, allocations: 4 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3213, allocations: 4 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3213, allocations: 3.938 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3216, allocations: 451.7 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.3225, allocations: 1.535 MB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3227, allocations: 0.6728 MB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.494e-06/0.3227, allocations: 4.094 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.3228, allocations: 7.438 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3228, allocations: 0 / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.3378, allocations: 0.9314 MB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.363, allocations: 5.531 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > 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