Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001288/0.001288, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.44/2.44, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5286, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001863/0.5305, allocations: 0.6448 MB / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.434e-05/0.5305, allocations: 8 kB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.5306, allocations: 3.938 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.5306, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.234e-05/0.5306, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.522e-05/0.5306, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.5307, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.5307, allocations: 11.97 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.079e-05/0.5307, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.294e-05/0.5308, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.5308, allocations: 3.938 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.5308, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.5308, allocations: 4 kB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.5308, allocations: 4 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.089e-05/0.5309, allocations: 7.938 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.5309, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5309, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5309, allocations: 0 / 1.018 GB, free: 1.992 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.000239/0.5311, allocations: 316.9 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.5312, allocations: 8.031 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.5312, allocations: 34.69 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.416e-05/0.5312, allocations: 4.938 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.5313, allocations: 164.4 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.5313, allocations: 384 / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.5313, allocations: 384 / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.923e-05/0.5314, allocations: 30.27 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.5314, allocations: 3.938 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.5314, allocations: 4 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.5314, allocations: 0 / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.121e-05/0.5314, allocations: 0 / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.5317, allocations: 387.5 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.5318, allocations: 169.1 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.5318, allocations: 80.14 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5318, allocations: 79.27 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.5319, allocations: 113.9 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.5319, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.401e-05/0.5319, allocations: 29.64 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.532, allocations: 130.7 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.5321, allocations: 93.86 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.5321, allocations: 25.7 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.5321, allocations: 80.14 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/0.5321, allocations: 4.125 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.5321, allocations: 9.719 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5322, allocations: 318.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-06/0.5322, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.5323, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.5323, allocations: 79.22 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.5323, allocations: 79.22 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.291e-05/0.5324, allocations: 33.64 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.5324, allocations: 84.84 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.5324, allocations: 75.28 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.185e-05/0.5325, allocations: 150.6 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.5325, allocations: 87.16 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.325e-05/0.5326, allocations: 158.6 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.5326, allocations: 79.22 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.5327, allocations: 83.28 kB / 1.02 GB, free: 14.81 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.246e-05/0.5328, allocations: 264.9 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.5328, allocations: 101 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.5329, allocations: 108 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/0.5329, allocations: 188.2 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-05/0.533, allocations: 184.2 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-05/0.533, allocations: 180.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.5332, allocations: 405.1 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/0.5333, allocations: 105 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.5333, allocations: 105 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/0.5334, allocations: 184.2 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.5335, allocations: 180.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-05/0.5335, allocations: 188.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.395e-05/0.5336, allocations: 176.3 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.5337, allocations: 312.1 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.5338, allocations: 186.1 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.5338, allocations: 180.2 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.5339, allocations: 109 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.534, allocations: 176.3 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.534, allocations: 104.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.5341, allocations: 83.28 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5341, allocations: 4.094 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002257/0.5343, allocations: 0 / 1.024 GB, free: 11.14 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.0004368/0.5347, allocations: 0.8048 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.247e-05/0.5348, allocations: 7.938 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5348, allocations: 4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.5348, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.5353, allocations: 462 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5367, allocations: 1.532 MB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5371, allocations: 0.6769 MB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.124e-06/0.5371, allocations: 0 / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.5371, allocations: 11.44 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5371, allocations: 0 / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.5759, allocations: 0.8122 MB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/0.5764, allocations: 219.5 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.217, allocations: 0 / 1.028 GB, free: 6.578 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches