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.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.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.00151/0.00151, 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.00218/0.00218, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.582/2.582, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.8561, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002234/0.8584, allocations: 0.5464 MB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 5.246e-05/0.8585, allocations: 11.94 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.8585, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.8586, allocations: 3.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.8586, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.39e-05/0.8587, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.045e-05/0.8587, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.8588, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.8588, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.713e-05/0.8588, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.8589, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.8589, allocations: 4 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.8589, allocations: 3.984 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.8589, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.859, allocations: 15.92 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.859, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.859, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.859, allocations: 0 / 1.018 GB, free: 1.906 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.000327/0.8594, allocations: 311.5 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8594, allocations: 11.97 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.8594, allocations: 30.75 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.8595, allocations: 4.938 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.8596, allocations: 168.4 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.8596, allocations: 4.375 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.8596, allocations: 384 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.197e-05/0.8597, allocations: 30.27 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8597, allocations: 3.938 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.8598, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8598, allocations: 4 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.8598, allocations: 3.984 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.8601, allocations: 387.5 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.8602, allocations: 169.1 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.8603, allocations: 80.14 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.8603, allocations: 75.28 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.8604, allocations: 109.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.8604, allocations: 7.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 8.539e-05/0.8605, allocations: 33.62 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.8605, allocations: 130.7 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.8606, allocations: 93.86 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.8607, allocations: 25.7 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.8607, allocations: 80.14 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.8607, allocations: 4.125 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.8608, allocations: 9.719 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8609, allocations: 318.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.8609, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.8609, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.861, allocations: 75.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-05/0.861, allocations: 83.16 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.892e-05/0.8611, allocations: 37.62 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.8611, allocations: 83.28 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.8612, allocations: 75.28 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.785e-05/0.8613, allocations: 154.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.493e-05/0.8613, allocations: 83.31 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.472e-05/0.8614, allocations: 150.6 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.8615, allocations: 79.22 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.8615, allocations: 83.28 kB / 1.021 GB, free: 14.72 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 0.0001501/0.8617, allocations: 269.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.8618, allocations: 104.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.8618, allocations: 104.1 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-05/0.8619, allocations: 176.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.341e-05/0.862, allocations: 192.2 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-05/0.8621, allocations: 180.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.8624, allocations: 401.1 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/0.8624, allocations: 105 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.8625, allocations: 105 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.8626, allocations: 184.2 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.8626, allocations: 180.3 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-05/0.8627, allocations: 184.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/0.8628, allocations: 176.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.863, allocations: 315.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.863, allocations: 182.5 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.8631, allocations: 184.2 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.8632, allocations: 109 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.8633, allocations: 180.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.8633, allocations: 108.9 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.8634, allocations: 79.28 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8634, allocations: 4.094 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002766/0.8637, allocations: 3.938 kB / 1.024 GB, free: 11.05 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.0004347/0.8641, allocations: 0.8063 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.408e-05/0.8642, allocations: 3.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8642, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.8642, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.8646, allocations: 451.7 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.8656, allocations: 1.536 MB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.8659, allocations: 0.673 MB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.165e-06/0.8659, allocations: 0 / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.866, allocations: 7.438 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.866, allocations: 0 / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/0.9404, allocations: 0.8907 MB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/8.383, allocations: 14.25 kB / 1.029 GB, free: 6.629 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