Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001237/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001723/0.001723, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5411, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001557/0.5427, allocations: 0.6161 MB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.216e-05/0.5428, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.5428, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.5428, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.033e-05/0.5428, allocations: 3.938 kB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.74e-05/0.5429, allocations: 4 kB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.5429, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.543, allocations: 7.984 kB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.543, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.499e-05/0.543, allocations: 4 kB / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.543, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.543, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-06/0.543, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.5431, allocations: 4 kB / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.384e-05/0.5431, allocations: 7.922 kB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5431, allocations: 3.938 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5431, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5431, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 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.0002331/0.5434, allocations: 319.5 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5434, allocations: 12.03 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.5434, allocations: 30.75 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.615e-05/0.5435, allocations: 0.9375 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.62e-05/0.5435, allocations: 168.3 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.5436, allocations: 384 / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-06/0.5436, allocations: 384 / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.284e-05/0.5436, allocations: 26.27 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.5436, allocations: 3.938 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.5437, allocations: 4 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.5437, allocations: 4 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.5437, allocations: 11.92 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.5439, allocations: 375.5 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.544, allocations: 173.1 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.544, allocations: 80.14 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.544, allocations: 79.28 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5441, allocations: 113.8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5441, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.322e-05/0.5441, allocations: 25.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.5442, allocations: 126.7 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.5443, allocations: 97.86 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.5443, allocations: 29.83 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.5443, allocations: 80.14 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5443, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5443, allocations: 13.7 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5444, allocations: 314.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.5444, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.5444, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.5445, allocations: 75.28 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.5445, allocations: 83.22 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.798e-05/0.5445, allocations: 41.58 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.5446, allocations: 79.28 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.5446, allocations: 79.28 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/0.5446, allocations: 154.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.5447, allocations: 83.27 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.751e-05/0.5447, allocations: 154.6 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.5448, allocations: 83.22 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5448, allocations: 75.28 kB / 1.02 GB, free: 14.84 MB / 0.7794 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.642e-05/0.5449, allocations: 268.9 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.545, allocations: 104.9 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.545, allocations: 108.1 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-05/0.545, allocations: 180.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-05/0.5451, allocations: 184.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.294e-05/0.5451, allocations: 180.3 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.5453, allocations: 405.1 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.5453, allocations: 105 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.5454, allocations: 108.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.442e-05/0.5454, allocations: 180.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.5455, allocations: 180.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.733e-05/0.5455, allocations: 188.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-05/0.5456, allocations: 176.3 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.5457, allocations: 316.1 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.5457, allocations: 186.1 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.5458, allocations: 180.2 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.5459, allocations: 109 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5459, allocations: 180.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.5459, allocations: 101 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.546, allocations: 91.27 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.546, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002205/0.5462, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 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.0003009/0.5465, allocations: 0.8101 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.859e-05/0.5465, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5465, allocations: 4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5466, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.5469, allocations: 457.2 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.5476, allocations: 1.528 MB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.5478, allocations: 0.6767 MB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.281e-06/0.5478, allocations: 0 / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.5478, allocations: 7.438 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5478, allocations: 0 / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.191/1.739, allocations: 0.8214 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.739, allocations: 211.5 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.367, allocations: 7.234 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches