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.001367/0.001367, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 195 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 65.45 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002244/0.3508, allocations: 0.5534 MB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.979e-05/0.3509, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.3509, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.351, allocations: 7.938 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.351, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.28e-05/0.3511, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.3511, allocations: 4 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.3512, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.3512, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.435e-05/0.3513, allocations: 4 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3513, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.3513, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.3513, allocations: 7.984 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.3514, allocations: 4 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.438e-05/0.3515, allocations: 11.92 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3515, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.11e-06/0.3515, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3515, allocations: 3.938 kB / 1.054 GB, free: 7.648 MB / 0.8106 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.0003701/0.3519, allocations: 307.6 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3519, allocations: 8.625 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.352, allocations: 38.69 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.352, allocations: 8.922 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3521, allocations: 160.4 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3522, allocations: 4.375 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3522, allocations: 384 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3523, allocations: 30.27 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3523, allocations: 3.938 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3523, allocations: 0 / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3523, allocations: 0 / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.3524, allocations: 0 / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.3528, allocations: 387.5 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3529, allocations: 169.1 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.353, allocations: 84.17 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.353, allocations: 75.28 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.3531, allocations: 113.9 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 3.777e-06/0.3531, allocations: 4 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.431e-05/0.3532, allocations: 33.62 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.3533, allocations: 126.7 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.3534, allocations: 93.86 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3534, allocations: 25.7 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.3534, allocations: 84.14 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.3534, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.3535, allocations: 13.72 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3536, allocations: 315 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-06/0.3536, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.3537, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.3537, allocations: 75.28 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-05/0.3537, allocations: 83.16 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.282e-05/0.3538, allocations: 37.62 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.3539, allocations: 79.28 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.3539, allocations: 75.28 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.399e-05/0.354, allocations: 162.5 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.13e-05/0.354, allocations: 75.28 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.359e-05/0.3541, allocations: 154.6 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.3542, allocations: 83.22 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.3542, allocations: 79.27 kB / 1.056 GB, free: 4.477 MB / 0.8106 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.000149/0.3544, allocations: 268.3 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.3544, allocations: 108.9 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.3545, allocations: 108.1 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.442e-05/0.3546, allocations: 180.3 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-05/0.3547, allocations: 184.2 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/0.3548, allocations: 176.3 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3551, allocations: 421 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/0.3551, allocations: 105.5 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.3552, allocations: 101 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/0.3553, allocations: 180.2 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.3554, allocations: 180.3 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.993e-05/0.3555, allocations: 184.5 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.459e-05/0.3555, allocations: 176.3 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3557, allocations: 315.7 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.3558, allocations: 182 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.3559, allocations: 192.2 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.356, allocations: 105 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.356, allocations: 180.2 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.3561, allocations: 101 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.3561, allocations: 79.28 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3561, allocations: 0 / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002327/0.3564, allocations: 0 / 1.06 GB, free: 0.8047 MB / 0.8106 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.000501/0.3569, allocations: 0.8127 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.561e-05/0.3569, allocations: 4 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3569, allocations: 0 / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.357, allocations: 0 / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3573, allocations: 463.7 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3584, allocations: 1.524 MB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3587, allocations: 0.669 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.826e-06/0.3588, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.3588, allocations: 7.438 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3588, allocations: 4 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.3769, allocations: 0.9058 MB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.613, allocations: 6.969 kB / 1.064 GB, free: 12.4 MB / 0.8262 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