Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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.008478/0.008478, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001638/0.001638, allocations: 193.7 kB / 16.67 MB, free: 5.949 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.03 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002011/0.3358, allocations: 0.541 MB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.688e-05/0.3359, allocations: 3.938 kB / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.3359, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.3359, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.336, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.3361, allocations: 8 kB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.3361, allocations: 7.938 kB / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.3362, allocations: 64 / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.3362, allocations: 0 / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.3362, allocations: 0 / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3363, allocations: 4 kB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-06/0.3363, allocations: 0 / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.3363, allocations: 0 / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.3363, allocations: 0 / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.556e-05/0.3364, allocations: 11.86 kB / 1.208 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3364, allocations: 4 kB / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3364, allocations: 0 / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3364, allocations: 4 kB / 1.208 GB, free: 9.512 MB / 0.9669 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.0003416/0.3368, allocations: 311.6 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3368, allocations: 12.66 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3369, allocations: 34.73 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.3369, allocations: 4.938 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.337, allocations: 164.3 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.337, allocations: 384 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3371, allocations: 384 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.3371, allocations: 30.27 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3372, allocations: 7.938 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3372, allocations: 4 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3372, allocations: 0 / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.3372, allocations: 0 / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3376, allocations: 387.4 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3377, allocations: 173.1 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3377, allocations: 84.14 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3377, allocations: 75.28 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3378, allocations: 105.8 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3378, allocations: 0 / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.679e-05/0.3379, allocations: 33.62 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.338, allocations: 126.7 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.3381, allocations: 101.9 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3381, allocations: 25.7 kB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3381, allocations: 80.14 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.3381, allocations: 4 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.3382, allocations: 9.719 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3383, allocations: 310.8 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.3383, allocations: 0 / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.3383, allocations: 4.125 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.3384, allocations: 75.28 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.308e-05/0.3384, allocations: 83.2 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.604e-05/0.3385, allocations: 37.64 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.3385, allocations: 80.84 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.3386, allocations: 83.22 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.894e-05/0.3386, allocations: 150.6 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.3387, allocations: 83.22 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.208e-05/0.3387, allocations: 150.6 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.3388, allocations: 83.22 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3388, allocations: 79.27 kB / 1.211 GB, free: 6.336 MB / 0.9669 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.000122/0.339, allocations: 268.3 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.339, allocations: 101 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.3391, allocations: 116 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-05/0.3392, allocations: 176.8 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-05/0.3392, allocations: 192.2 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.761e-05/0.3393, allocations: 184.3 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3396, allocations: 401.2 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.3396, allocations: 113.2 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.3397, allocations: 101 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/0.3398, allocations: 188.2 kB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.3398, allocations: 180.3 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001461/0.34, allocations: 176.3 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000158/0.3402, allocations: 184.2 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.3403, allocations: 315.7 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.3404, allocations: 182.1 kB / 1.213 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.3405, allocations: 184.2 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.3406, allocations: 101 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.3406, allocations: 180.3 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.3407, allocations: 108.9 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.3407, allocations: 79.28 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3407, allocations: 0 / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002406/0.341, allocations: 0 / 1.214 GB, free: 2.66 MB / 0.9669 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.0004974/0.3415, allocations: 0.8166 MB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.578e-05/0.3415, allocations: 3.938 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3415, allocations: 0 / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3416, allocations: 0 / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3419, allocations: 455.7 kB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3431, allocations: 1.536 MB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3434, allocations: 0.669 MB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.3434, allocations: 11.92 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.3434, allocations: 7.438 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3434, allocations: 0 / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.3611, allocations: 0.9288 MB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.067, allocations: 5.094 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches