Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_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.0008743/0.0008744, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007252/0.007252, allocations: 170 kB / 16.27 MB, free: 6.652 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.315/2.315, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 8 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5393, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006399/0.54, allocations: 284.8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 3.241e-05/0.5401, allocations: 7.938 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.5401, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.5401, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.5401, allocations: 3.938 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.464e-05/0.5402, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.242e-05/0.5402, allocations: 8 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.5403, allocations: 3.984 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.245e-05/0.5403, allocations: 3.938 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.58e-05/0.5403, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.5403, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-06/0.5403, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.5403, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.5404, allocations: 29.7 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.782e-05/0.5404, allocations: 7.922 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5404, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5404, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5404, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 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.0002412/0.5407, allocations: 311.5 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5407, allocations: 8.031 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.5408, allocations: 34.75 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.5408, allocations: 0.9375 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.5409, allocations: 172.3 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.5409, allocations: 384 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.5409, allocations: 4.375 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.421e-05/0.541, allocations: 30.25 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.541, allocations: 3.938 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.541, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.541, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.5411, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.5413, allocations: 383.5 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.5414, allocations: 173.1 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.5415, allocations: 80.14 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.5415, allocations: 75.28 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.5415, allocations: 113.8 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5415, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.845e-05/0.5416, allocations: 33.64 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.5417, allocations: 126.7 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.5417, allocations: 93.84 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.5417, allocations: 29.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.5418, allocations: 84.14 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.5418, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.5418, allocations: 13.84 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.5419, allocations: 310.8 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.5419, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.5419, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.5419, allocations: 75.28 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.542, allocations: 79.22 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.208e-05/0.542, allocations: 37.58 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.5421, allocations: 79.28 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.5421, allocations: 91.2 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/0.5421, allocations: 150.6 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.5422, allocations: 79.22 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/0.5422, allocations: 154.6 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.5423, allocations: 87.25 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.5423, allocations: 75.28 kB / 1.026 GB, free: 12.38 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.16e-05/0.5424, allocations: 264.9 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.5425, allocations: 105 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.5425, allocations: 112 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.796e-05/0.5426, allocations: 180.3 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.183e-05/0.5426, allocations: 180.2 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.536e-05/0.5427, allocations: 180.3 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.5429, allocations: 405.2 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.5429, allocations: 108.9 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.5429, allocations: 101 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.206e-05/0.543, allocations: 188.2 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.543, allocations: 176.3 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.988e-05/0.5431, allocations: 180.3 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.414e-05/0.5431, allocations: 180.2 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.5433, allocations: 312.1 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.5433, allocations: 190.1 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.5434, allocations: 184.2 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.5434, allocations: 105 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.5435, allocations: 180.3 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.5435, allocations: 112.9 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.5436, allocations: 75.28 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5436, allocations: 0 / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000221/0.5438, allocations: 96 / 1.03 GB, free: 8.707 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.0003306/0.5441, allocations: 0.8126 MB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.688e-05/0.5442, allocations: 3.938 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5442, allocations: 0 / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5442, allocations: 4 kB / 1.031 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5445, allocations: 0.5185 MB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.5453, allocations: 1.525 MB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.5455, allocations: 0.6731 MB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.763e-06/0.5455, allocations: 96 / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.5455, allocations: 11.44 kB / 1.033 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5455, allocations: 3.938 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.158, allocations: 0.7269 MB / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/2.158, allocations: 217.5 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/3.823, allocations: 0 / 1.034 GB, free: 4.176 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches