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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 217.5 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 65.92 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001909/0.3749, allocations: 0.5497 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.797e-05/0.3749, allocations: 4 kB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.3749, allocations: 0 / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.375, allocations: 3.938 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.375, allocations: 4 kB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.264e-05/0.375, allocations: 0 / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.3751, allocations: 11.92 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-06/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.3752, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.3752, allocations: 11.98 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.3753, allocations: 3.938 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3753, allocations: 4 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3753, allocations: 0 / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3753, allocations: 0 / 1.353 GB, free: 7.906 MB / 1.045 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.0003101/0.3756, allocations: 240.2 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3757, allocations: 8.031 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.3757, allocations: 30.75 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.3757, allocations: 12.89 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3758, allocations: 102.5 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3759, allocations: 4.312 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3759, allocations: 4.375 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.376, allocations: 34.2 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.376, allocations: 3.938 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.376, allocations: 0 / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.376, allocations: 3.984 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.376, allocations: 0 / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3764, allocations: 346.6 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3765, allocations: 181.5 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3766, allocations: 80.14 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.3766, allocations: 83.27 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.3767, allocations: 105.8 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3767, allocations: 0 / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.169e-05/0.3768, allocations: 33.73 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3768, allocations: 130.7 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.3769, allocations: 89.86 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3769, allocations: 25.7 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.377, allocations: 88.14 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-06/0.377, allocations: 0 / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.377, allocations: 9.719 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3772, allocations: 322.9 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-06/0.3772, allocations: 0 / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.3772, allocations: 0 / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.3773, allocations: 79.22 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/0.3773, allocations: 83.22 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.289e-05/0.3774, allocations: 25.7 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.3774, allocations: 79.28 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/0.3775, allocations: 83.22 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.199e-05/0.3775, allocations: 154.6 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.3776, allocations: 79.28 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.72e-05/0.3777, allocations: 158.5 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.3778, allocations: 79.28 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.3778, allocations: 79.22 kB / 1.356 GB, free: 4.922 MB / 1.045 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.0002447/0.378, allocations: 268.3 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3782, allocations: 105 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.3782, allocations: 108.1 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/0.3784, allocations: 188.2 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000153/0.3786, allocations: 176.3 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.888e-05/0.3787, allocations: 188.2 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.379, allocations: 380.2 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/0.3791, allocations: 105.5 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.3791, allocations: 108.9 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.3793, allocations: 180.2 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.3794, allocations: 180.2 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.19e-05/0.3795, allocations: 180.6 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000153/0.3796, allocations: 188.2 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3799, allocations: 307.8 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.38, allocations: 104.9 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3801, allocations: 184.2 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.3802, allocations: 105 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.3803, allocations: 184.2 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.3804, allocations: 101 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.3804, allocations: 79.28 kB / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0 / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003131/0.3807, allocations: 0 / 1.359 GB, free: 1.375 MB / 1.045 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.0005561/0.3813, allocations: 0.8087 MB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.835e-05/0.3813, allocations: 0 / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3813, allocations: 0 / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.3813, allocations: 4 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3818, allocations: 471.6 kB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3831, allocations: 1.524 MB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3834, allocations: 0.6729 MB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.675e-06/0.3834, allocations: 0 / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.3834, allocations: 11.44 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/0.3834, allocations: 0 / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.4135, allocations: 1.014 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 3.938 kB / 1.364 GB, free: 12.87 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.4652561719995]