Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001823/0.001823, 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.002319/0.002319, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.969 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.419/3.419, allocations: 0.505 GB / 0.8101 GB, free: 22 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.002067/0.002067, allocations: 71.78 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002184/0.3949, allocations: 0.54 MB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.675e-05/0.395, allocations: 7.875 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.395, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.395, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.3951, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.812e-05/0.3951, allocations: 4 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.3952, allocations: 0 / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.3952, allocations: 8 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.3952, allocations: 3.984 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.3953, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3953, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/0.3953, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.3953, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.3953, allocations: 4 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.3954, allocations: 7.938 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3954, allocations: 0 / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3954, allocations: 0 / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3954, allocations: 0 / 1.353 GB, free: 7.844 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.0003259/0.3957, allocations: 242.7 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3958, allocations: 11.97 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.3958, allocations: 30.75 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.3958, allocations: 8.891 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3959, allocations: 102.5 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.3959, allocations: 384 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.396, allocations: 4.375 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3961, allocations: 34.27 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3961, allocations: 3.938 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3961, allocations: 4 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3961, allocations: 0 / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.3961, allocations: 0 / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3965, allocations: 354.5 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3966, allocations: 173.5 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.3966, allocations: 84.14 kB / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3967, allocations: 75.28 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.3967, allocations: 105.8 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3967, allocations: 0 / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.309e-05/0.3968, allocations: 41.66 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.3969, allocations: 126.7 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.397, allocations: 97.86 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.397, allocations: 25.7 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.397, allocations: 84.08 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.397, allocations: 7.984 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.3971, allocations: 9.719 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3972, allocations: 314.8 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.3972, allocations: 3.938 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.3972, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.3973, allocations: 83.39 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-05/0.3973, allocations: 79.22 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.15e-05/0.3974, allocations: 33.64 kB / 1.355 GB, free: 5.547 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.3974, allocations: 80.84 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.3974, allocations: 79.28 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.813e-05/0.3975, allocations: 154.5 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.582e-05/0.3976, allocations: 75.28 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.184e-05/0.3976, allocations: 154.6 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.3977, allocations: 87.22 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.3977, allocations: 79.27 kB / 1.356 GB, free: 4.848 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.0001418/0.3979, allocations: 264.9 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.398, allocations: 104.9 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.398, allocations: 112.1 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/0.3981, allocations: 180.3 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.918e-05/0.3982, allocations: 184.2 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.903e-05/0.3983, allocations: 180.3 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3985, allocations: 372.2 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.3986, allocations: 109.5 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.3986, allocations: 113 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.05e-05/0.3987, allocations: 180.2 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.3988, allocations: 176.3 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.667e-05/0.3989, allocations: 180.5 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001016/0.399, allocations: 180.3 kB / 1.358 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3992, allocations: 315.7 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.3993, allocations: 109 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3994, allocations: 180.2 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3995, allocations: 109 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3996, allocations: 184.3 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.3997, allocations: 108.9 kB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.3997, allocations: 75.28 kB / 1.359 GB, free: 1.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3997, allocations: 4 kB / 1.359 GB, free: 1.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000289/0.4, allocations: 0 / 1.359 GB, free: 1.301 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.0005799/0.4006, allocations: 0.8049 MB / 1.36 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.524e-05/0.4007, allocations: 3.938 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4007, allocations: 7.875 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.4007, allocations: 4 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.4011, allocations: 455.7 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4026, allocations: 1.533 MB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4029, allocations: 0.669 MB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.049e-05/0.4029, allocations: 0 / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.4029, allocations: 11.42 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4029, allocations: 4 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4319, allocations: 1.001 MB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.36, allocations: 6.844 kB / 1.364 GB, free: 12.81 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.45267305802554]