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.001298/0.001298, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001517/0.001517, allocations: 217 kB / 23.04 MB, free: 5.074 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.348/3.348, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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="cs",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="cs",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.002201/0.002201, allocations: 59.7 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4141, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001891/0.416, allocations: 0.544 MB / 1.346 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.428e-05/0.416, allocations: 0 / 1.346 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.4161, allocations: 7.938 kB / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.4161, allocations: 3.844 kB / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.4161, allocations: 0 / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.532e-05/0.4162, allocations: 0 / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.531e-05/0.4162, allocations: 4 kB / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.4163, allocations: 4 kB / 1.346 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.4163, allocations: 4 kB / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.4163, allocations: 3.984 kB / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.4163, allocations: 0 / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.4164, allocations: 0 / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.4164, allocations: 0 / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.4164, allocations: 0 / 1.346 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 7.005e-05/0.4165, allocations: 7.938 kB / 1.346 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4165, allocations: 3.984 kB / 1.346 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4165, allocations: 0 / 1.346 GB, free: 15.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.4165, allocations: 0 / 1.346 GB, free: 15.93 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.0003202/0.4168, allocations: 244.1 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4168, allocations: 8.031 kB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.4168, allocations: 4.188 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.4169, allocations: 30.75 kB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.4169, allocations: 4.891 kB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.417, allocations: 110.5 kB / 1.346 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.417, allocations: 8.297 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.417, allocations: 384 / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.4171, allocations: 42.02 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4171, allocations: 0 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.4171, allocations: 0 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.4171, allocations: 0 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.235e-05/0.4172, allocations: 0 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.4175, allocations: 354.5 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4176, allocations: 173.5 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.4177, allocations: 84.17 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.4177, allocations: 75.28 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.4178, allocations: 105.9 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.4178, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.288e-05/0.4178, allocations: 33.64 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.4179, allocations: 134.7 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.418, allocations: 97.84 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.418, allocations: 25.7 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.4181, allocations: 80.14 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.4181, allocations: 0 / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.4181, allocations: 13.72 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4182, allocations: 310.8 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.4182, allocations: 3.938 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.4182, allocations: 8.125 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.4183, allocations: 79.22 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.4183, allocations: 75.28 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.645e-05/0.4184, allocations: 29.7 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.4184, allocations: 85.09 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/0.4185, allocations: 79.28 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.108e-05/0.4186, allocations: 154.5 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.4186, allocations: 83.22 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.127e-05/0.4187, allocations: 150.6 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.563e-05/0.4188, allocations: 79.22 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.4188, allocations: 83.28 kB / 1.349 GB, free: 12.93 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.0001483/0.4189, allocations: 260.3 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.419, allocations: 101 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.4191, allocations: 123.8 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001535/0.4192, allocations: 180.2 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/0.4193, allocations: 180.2 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-05/0.4194, allocations: 180.3 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.4196, allocations: 376.2 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.4197, allocations: 112.9 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.4197, allocations: 101 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-05/0.4198, allocations: 192.5 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.42, allocations: 184.2 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-05/0.42, allocations: 180.3 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.046e-05/0.4201, allocations: 180.2 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.4203, allocations: 311.7 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.4204, allocations: 109 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.4205, allocations: 176.3 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.4205, allocations: 104.9 kB / 1.352 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.4206, allocations: 184.3 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.4207, allocations: 108.9 kB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.4207, allocations: 79.27 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4207, allocations: 0 / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002812/0.421, allocations: 4 kB / 1.352 GB, free: 9.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.0005471/0.4216, allocations: 0.801 MB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.44e-05/0.4216, allocations: 7.922 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4216, allocations: 3.938 kB / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4216, allocations: 0 / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.422, allocations: 463.7 kB / 1.353 GB, free: 8.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4234, allocations: 1.524 MB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4237, allocations: 0.6766 MB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.223e-06/0.4237, allocations: 0 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.4237, allocations: 7.438 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4237, allocations: 0 / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.4448, allocations: 1.05 MB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.64, allocations: 12.42 kB / 1.356 GB, free: 4.855 MB / 1.045 GB " [Timeout remaining time 288] (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.63841406395659]