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.001902/0.001902, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002134/0.002134, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.39/3.39, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.00205/0.00205, allocations: 69.47 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001714/0.3681, allocations: 0.5506 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.321e-05/0.3681, allocations: 0 / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3682, allocations: 4 kB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3682, allocations: 0 / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.198e-05/0.3682, allocations: 0 / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.954e-05/0.3682, allocations: 0 / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.3683, allocations: 4 kB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.3683, allocations: 0 / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.3684, allocations: 4 kB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.3684, allocations: 0 / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3684, allocations: 0 / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.327e-06/0.3684, allocations: 0 / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3684, allocations: 0 / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.3684, allocations: 11.94 kB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.582e-05/0.3685, allocations: 3.984 kB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3685, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3685, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3685, allocations: 3.938 kB / 1.321 GB, free: 2.758 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.0003268/0.3688, allocations: 315.8 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3689, allocations: 15.97 kB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.3689, allocations: 30.75 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.3689, allocations: 8.875 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.369, allocations: 160.4 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3691, allocations: 4.375 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.3691, allocations: 384 / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.3691, allocations: 26.27 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3691, allocations: 7.938 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.3692, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3692, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.312e-05/0.3692, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3695, allocations: 391.4 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3696, allocations: 169.1 kB / 1.322 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.3696, allocations: 84.14 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.3697, allocations: 75.28 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.468e-05/0.3697, allocations: 109.9 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3697, allocations: 4 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 6.747e-05/0.3698, allocations: 33.62 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.3699, allocations: 127.1 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.37, allocations: 93.86 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.37, allocations: 29.64 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.37, allocations: 84.14 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.37, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.3701, allocations: 17.84 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3702, allocations: 310.8 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-06/0.3702, allocations: 0 / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.3702, allocations: 0 / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.3702, allocations: 79.27 kB / 1.323 GB, free: 404 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-05/0.3703, allocations: 79.22 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.335e-05/0.3703, allocations: 37.64 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3704, allocations: 79.28 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.3704, allocations: 83.28 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-05/0.3705, allocations: 158.5 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.293e-05/0.3705, allocations: 79.28 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.518e-05/0.3706, allocations: 150.6 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.3707, allocations: 83.2 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.3707, allocations: 75.28 kB / 1.324 GB, free: 15.57 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.0001554/0.3709, allocations: 268.3 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3709, allocations: 108.9 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.371, allocations: 108.1 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-05/0.3711, allocations: 180.3 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-05/0.3712, allocations: 184.2 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-05/0.3712, allocations: 180.3 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.3715, allocations: 409.1 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/0.3716, allocations: 108.9 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.3716, allocations: 101 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.3717, allocations: 180.2 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/0.3718, allocations: 184.3 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/0.3718, allocations: 184.5 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.133e-05/0.3719, allocations: 180.2 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3721, allocations: 311.7 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.3722, allocations: 178.1 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.3723, allocations: 196.2 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.3724, allocations: 101 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.3724, allocations: 180.2 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.3725, allocations: 101 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.3725, allocations: 83.22 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3725, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002479/0.3728, allocations: 0 / 1.328 GB, free: 11.9 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.0004915/0.3733, allocations: 0.8127 MB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.84e-05/0.3733, allocations: 4 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3733, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3733, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3737, allocations: 461.6 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3749, allocations: 1.536 MB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3752, allocations: 0.6729 MB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.472e-06/0.3752, allocations: 0 / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3752, allocations: 7.438 kB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3752, allocations: 4 kB / 1.331 GB, free: 8.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3993, allocations: 0.9212 MB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.328, allocations: 11.7 kB / 1.332 GB, free: 7.457 MB / 1.029 GB " [Timeout remaining time 292] (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: 15.440755152143538]