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.001424/0.001424, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001467/0.001467, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.168/3.168, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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.001996/0.001996, allocations: 63.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9904/0.9924, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001716/0.9941, allocations: 0.5522 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.173e-05/0.9942, allocations: 0 / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.9942, allocations: 1.219 kB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.9942, allocations: 3.938 kB / 1.341 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.9942, allocations: 4 kB / 1.341 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.373e-05/0.9943, allocations: 4 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.9943, allocations: 2.859 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.9944, allocations: 1.641 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.9944, allocations: 1.719 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.786e-05/0.9944, allocations: 0 / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.9944, allocations: 0 / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.9945, allocations: 1.156 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.9945, allocations: 0 / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.9945, allocations: 5.125 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.263e-05/0.9946, allocations: 1.547 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9946, allocations: 10.02 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9946, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.9946, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 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.0002592/0.9948, allocations: 312.5 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9949, allocations: 10.39 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.463e-05/0.9949, allocations: 1.344 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.67e-05/0.9949, allocations: 30.75 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.9949, allocations: 4.891 kB / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.995, allocations: 166.8 kB / 1.341 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.995, allocations: 4.375 kB / 1.341 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.995, allocations: 1.469 kB / 1.341 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.9951, allocations: 36.98 kB / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9951, allocations: 0.6562 kB / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.9951, allocations: 0 / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9952, allocations: 0 / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.9952, allocations: 6.203 kB / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.9954, allocations: 390.1 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.595e-05/0.9955, allocations: 170.7 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.9955, allocations: 81.33 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.9955, allocations: 75.28 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.9955, allocations: 111.8 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9955, allocations: 4 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.707e-05/0.9956, allocations: 31.17 kB / 1.342 GB, free: 14.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.9956, allocations: 135.3 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.9957, allocations: 94.14 kB / 1.342 GB, free: 14.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.9957, allocations: 26.52 kB / 1.342 GB, free: 14.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.9957, allocations: 81.8 kB / 1.342 GB, free: 14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.9957, allocations: 0 / 1.342 GB, free: 14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.9957, allocations: 15.44 kB / 1.342 GB, free: 13.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.9958, allocations: 312.4 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.9958, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-06/0.9958, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.345e-05/0.9958, allocations: 85.25 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.9958, allocations: 79.98 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.779e-05/0.9959, allocations: 28.05 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.9959, allocations: 86.78 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.9959, allocations: 81.33 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.9959, allocations: 155.2 kB / 1.343 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.3e-05/0.9959, allocations: 81.22 kB / 1.343 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.996, allocations: 151.7 kB / 1.343 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.996, allocations: 82.89 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.996, allocations: 80.97 kB / 1.344 GB, free: 12.78 MB / 1.061 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 5.858e-05/0.9961, allocations: 266.1 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.9961, allocations: 103.4 kB / 1.344 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.9962, allocations: 109.8 kB / 1.344 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.9962, allocations: 178.1 kB / 1.344 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.9962, allocations: 182 kB / 1.344 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.9962, allocations: 186.2 kB / 1.345 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.9964, allocations: 400.8 kB / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.9964, allocations: 106.8 kB / 1.345 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.9964, allocations: 102.7 kB / 1.345 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-05/0.9964, allocations: 186.4 kB / 1.345 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.9964, allocations: 178.1 kB / 1.346 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.378e-05/0.9965, allocations: 182 kB / 1.346 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.55e-05/0.9965, allocations: 185.9 kB / 1.346 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.513e-05/0.9966, allocations: 309.9 kB / 1.346 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.9966, allocations: 179.9 kB / 1.346 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.9966, allocations: 182.8 kB / 1.346 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.9967, allocations: 110.7 kB / 1.347 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.9967, allocations: 182 kB / 1.347 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.9967, allocations: 106.1 kB / 1.347 GB, free: 9.234 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.145e-05/0.9968, allocations: 82.06 kB / 1.347 GB, free: 9.156 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9968, allocations: 3.938 kB / 1.347 GB, free: 9.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002745/0.997, allocations: 1.5 kB / 1.347 GB, free: 9.152 MB / 1.061 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.0002632/0.9973, allocations: 0.8079 MB / 1.348 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.165e-05/0.9973, allocations: 3.938 kB / 1.348 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9973, allocations: 1.125 kB / 1.348 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.9973, allocations: 4.75 kB / 1.348 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.9976, allocations: 453.9 kB / 1.348 GB, free: 7.883 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.9983, allocations: 1.532 MB / 1.35 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.9984, allocations: 0.671 MB / 1.35 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.485e-06/0.9984, allocations: 0.6562 kB / 1.35 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.9984, allocations: 11.53 kB / 1.35 GB, free: 5.602 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9985, allocations: 1.125 kB / 1.35 GB, free: 5.602 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/1.016, allocations: 0.9756 MB / 1.351 GB, free: 5.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/9.422, allocations: 9.641 kB / 1.351 GB, free: 5.258 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.267158714996185]