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: "" <> 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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001177/0.001177, allocations: 193.7 kB / 16.14 MB, free: 6.691 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.17 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2246, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001563/0.2262, allocations: 0.5987 MB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.09e-05/0.2262, allocations: 15.94 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.2263, allocations: 3.938 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.2263, allocations: 0 / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.039e-05/0.2263, allocations: 0 / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.481e-05/0.2263, allocations: 0 / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.528e-05/0.2264, allocations: 3.984 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2264, allocations: 4 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.079e-05/0.2264, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.262e-05/0.2265, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2265, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-06/0.2265, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-06/0.2265, allocations: 4 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.2265, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.268e-05/0.2266, allocations: 15.92 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2266, allocations: 4 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2266, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.2266, allocations: 0 / 1.053 GB, free: 7.59 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.000213/0.2268, allocations: 307.6 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2268, allocations: 11.97 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.2269, allocations: 30.75 kB / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.2269, allocations: 8.922 kB / 1.053 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.227, allocations: 164.4 kB / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.227, allocations: 384 / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.227, allocations: 8.312 kB / 1.053 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.061e-05/0.2271, allocations: 30.27 kB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2271, allocations: 3.938 kB / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.2271, allocations: 0 / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2271, allocations: 0 / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.332e-05/0.2271, allocations: 4 kB / 1.053 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2274, allocations: 383.5 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.2274, allocations: 173 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.2275, allocations: 80.14 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2275, allocations: 75.28 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2275, allocations: 109.8 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2275, allocations: 0 / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.054e-05/0.2276, allocations: 37.72 kB / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2276, allocations: 134.6 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.2277, allocations: 89.86 kB / 1.054 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2277, allocations: 29.7 kB / 1.054 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.2278, allocations: 80.14 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.2278, allocations: 128 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.2278, allocations: 17.66 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.2279, allocations: 310.8 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-06/0.2279, allocations: 4 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-06/0.2279, allocations: 0 / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.2279, allocations: 83.22 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.2279, allocations: 79.22 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.671e-05/0.228, allocations: 29.69 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.228, allocations: 87.28 kB / 1.055 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.228, allocations: 79.22 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.2281, allocations: 150.6 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.2281, allocations: 79.22 kB / 1.055 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/0.2281, allocations: 154.6 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.2282, allocations: 75.28 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2282, allocations: 87.2 kB / 1.056 GB, free: 4.41 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 8.07e-05/0.2283, allocations: 264.3 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.2284, allocations: 105 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2284, allocations: 108 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/0.2285, allocations: 176.3 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-05/0.2285, allocations: 184.2 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-05/0.2286, allocations: 188.2 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2287, allocations: 397.2 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.2288, allocations: 112.9 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.2288, allocations: 105 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.476e-05/0.2289, allocations: 180.6 kB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.2289, allocations: 184.2 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.982e-05/0.2289, allocations: 176.3 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.711e-05/0.229, allocations: 192.2 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.978e-05/0.2291, allocations: 311.7 kB / 1.058 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.2292, allocations: 182 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.2292, allocations: 180.3 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.2293, allocations: 108.9 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2293, allocations: 180.3 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.2294, allocations: 104.9 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.2294, allocations: 79.28 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2294, allocations: 4.094 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002302/0.2296, allocations: 4 kB / 1.059 GB, free: 0.7383 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.0003144/0.23, allocations: 0.807 MB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.51e-05/0.23, allocations: 0 / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.23, allocations: 4 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.23, allocations: 3.938 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.2303, allocations: 0.5262 MB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.2311, allocations: 1.518 MB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2313, allocations: 0.6771 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.372e-06/0.2313, allocations: 4 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.2313, allocations: 7.438 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2313, allocations: 0 / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/0.3587, allocations: 0.7854 MB / 1.063 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.359, allocations: 221.9 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.869, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 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