Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001754/0.001754, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001507/0.001507, allocations: 222 kB / 22.25 MB, free: 5.254 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7951 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002045/0.002045, allocations: 62.75 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.397, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001937/0.399, allocations: 0.557 MB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.395e-05/0.399, allocations: 0 / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.3991, allocations: 0 / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.3991, allocations: 0 / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.3991, allocations: 4 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.554e-05/0.3992, allocations: 7.984 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.3992, allocations: 4 kB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3993, allocations: 0 / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.3993, allocations: 4 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.3993, allocations: 0 / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3993, allocations: 0 / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-06/0.3993, allocations: 0 / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.3993, allocations: 3.984 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.3994, allocations: 0 / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.852e-05/0.3994, allocations: 7.875 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3994, allocations: 0 / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3994, allocations: 8 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3994, allocations: 0 / 1.326 GB, free: 0.9453 MB / 1.014 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.0003317/0.3998, allocations: 242.7 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3998, allocations: 8.031 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.3999, allocations: 30.75 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.3999, allocations: 0.9375 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.4, allocations: 110.5 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4, allocations: 384 / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.4, allocations: 384 / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.4001, allocations: 30.25 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4002, allocations: 11.94 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4002, allocations: 0 / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4002, allocations: 0 / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.4002, allocations: 7.938 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.4006, allocations: 346.6 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4007, allocations: 177.5 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.4008, allocations: 84.12 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.4008, allocations: 79.27 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.577e-05/0.4009, allocations: 109.8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.4009, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.84e-05/0.401, allocations: 33.73 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.4011, allocations: 130.7 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.4012, allocations: 97.86 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4012, allocations: 25.7 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4012, allocations: 80.14 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.4012, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.4013, allocations: 13.72 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4014, allocations: 314.8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.4014, allocations: 3.938 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.4014, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.4015, allocations: 75.28 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.419e-05/0.4015, allocations: 83.34 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.185e-05/0.4016, allocations: 37.64 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.4016, allocations: 79.28 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.4016, allocations: 79.28 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.45e-05/0.4017, allocations: 154.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.087e-05/0.4017, allocations: 75.28 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.637e-05/0.4018, allocations: 158.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.4019, allocations: 79.22 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.4019, allocations: 79.28 kB / 1.329 GB, free: 13.96 MB / 1.029 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.0001467/0.4021, allocations: 268.9 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.4022, allocations: 108.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.4022, allocations: 104.1 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/0.4023, allocations: 188.2 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-05/0.4024, allocations: 176.3 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-05/0.4024, allocations: 176.3 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.4027, allocations: 384.2 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.721e-05/0.4027, allocations: 105 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.4028, allocations: 112.9 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.431e-05/0.4029, allocations: 176.3 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.4029, allocations: 180.3 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.676e-05/0.403, allocations: 184.5 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.4031, allocations: 184.2 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.4033, allocations: 311.7 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.4033, allocations: 105 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.4034, allocations: 184.2 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.4035, allocations: 101 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.4036, allocations: 184.2 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.4036, allocations: 101 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.4037, allocations: 83.28 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4037, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002596/0.4039, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.029 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.0004963/0.4044, allocations: 0.8127 MB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.099e-05/0.4045, allocations: 0 / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4045, allocations: 3.938 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.4045, allocations: 4 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4049, allocations: 455.7 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4061, allocations: 1.526 MB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.089e-05/0.4062, allocations: 59.34 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.933e-06/0.4062, allocations: 4.094 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.4062, allocations: 7.438 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.4062, allocations: 0 / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.4327, allocations: 1.43 MB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.5, allocations: 6.562 kB / 1.337 GB, free: 6.121 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.638389441010077]