Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.006006/0.006007, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.001226/0.001226, allocations: 194.3 kB / 16.68 MB, free: 5.977 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2553, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001417/0.2568, allocations: 0.5426 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.587e-05/0.2568, allocations: 3.938 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.2569, allocations: 0 / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.2569, allocations: 0 / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.3e-05/0.2569, allocations: 0 / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.579e-05/0.257, allocations: 7.938 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.257, allocations: 8 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2571, allocations: 64 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.259e-05/0.2571, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.408e-05/0.2571, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2571, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.2571, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.2571, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.2572, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.327e-05/0.2572, allocations: 11.91 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2572, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2572, allocations: 4 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2572, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 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.0002797/0.2575, allocations: 319.5 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2576, allocations: 8.031 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2576, allocations: 38.67 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.537e-05/0.2576, allocations: 4.938 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2577, allocations: 160.4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2577, allocations: 384 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.2578, allocations: 384 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.014e-05/0.2578, allocations: 38.2 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2578, allocations: 3.938 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.2579, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2579, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.2579, allocations: 3.984 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.2582, allocations: 383.5 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.2583, allocations: 177.1 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.2583, allocations: 80.14 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.2583, allocations: 75.28 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.2584, allocations: 109.9 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2584, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 5.949e-05/0.2584, allocations: 35.47 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.2585, allocations: 130.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.2586, allocations: 97.86 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2586, allocations: 25.7 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.2586, allocations: 80.14 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.2586, allocations: 0 / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.2587, allocations: 13.72 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2588, allocations: 310.8 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.2588, allocations: 8.125 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.2588, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.2588, allocations: 79.27 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.2589, allocations: 79.22 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.791e-05/0.2589, allocations: 37.58 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.259, allocations: 79.28 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.259, allocations: 79.28 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.403e-05/0.2591, allocations: 158.6 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.2591, allocations: 79.22 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.057e-05/0.2591, allocations: 150.6 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.2592, allocations: 83.2 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2593, allocations: 79.28 kB / 1.224 GB, free: 10.54 MB / 0.9825 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.0001152/0.2594, allocations: 264.3 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.2594, allocations: 105 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.2595, allocations: 108 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.246e-05/0.2596, allocations: 180.3 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/0.2596, allocations: 188.2 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-05/0.2597, allocations: 176.3 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2599, allocations: 413.1 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/0.26, allocations: 105.2 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.26, allocations: 101 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.711e-05/0.2601, allocations: 184.2 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.2601, allocations: 180.3 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.337e-05/0.2602, allocations: 188.1 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-05/0.2603, allocations: 184.2 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2604, allocations: 303.7 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.2605, allocations: 186 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.2606, allocations: 188.2 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.2607, allocations: 105 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.2607, allocations: 176.3 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2608, allocations: 104.9 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.2608, allocations: 79.28 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2608, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002188/0.261, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 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.00041/0.2615, allocations: 0.8132 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.642e-05/0.2615, allocations: 11.94 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2615, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2615, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2618, allocations: 455.7 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.2628, allocations: 1.526 MB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.263, allocations: 0.6806 MB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.57e-06/0.2631, allocations: 0 / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.2631, allocations: 7.438 kB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2631, allocations: 0 / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6406/0.9037, allocations: 0.926 MB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.62, allocations: 6.344 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches