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.001808/0.001808, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002126/0.002126, allocations: 218.4 kB / 22.25 MB, free: 5.105 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.789 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.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.002907/0.002907, allocations: 69.55 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3731, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001758/0.3748, allocations: 0.5491 MB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.337e-05/0.3749, allocations: 0 / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.3749, allocations: 4 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.3749, allocations: 0 / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.3749, allocations: 3.938 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.079e-05/0.375, allocations: 4 kB / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.375, allocations: 0 / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.3751, allocations: 7.922 kB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.3751, allocations: 11.98 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.748e-05/0.3751, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3751, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.848e-06/0.3751, allocations: 3.938 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.3751, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.3751, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.769e-05/0.3752, allocations: 3.938 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3752, allocations: 8 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3752, allocations: 0 / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3752, allocations: 0 / 1.326 GB, free: 0.8828 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.0002964/0.3755, allocations: 238.7 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3755, allocations: 12.03 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.3756, allocations: 30.75 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.684e-05/0.3756, allocations: 0.9375 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.3757, allocations: 106.5 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3757, allocations: 384 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-06/0.3757, allocations: 384 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.3758, allocations: 34.27 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3758, allocations: 3.938 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.3758, allocations: 0 / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3758, allocations: 3.938 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.404e-05/0.3758, allocations: 4 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3762, allocations: 354.5 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3763, allocations: 173.5 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3764, allocations: 80.14 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.3764, allocations: 79.22 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.3765, allocations: 109.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3765, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.282e-05/0.3765, allocations: 33.72 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.3766, allocations: 130.7 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.3767, allocations: 93.95 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3767, allocations: 29.73 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3768, allocations: 80.14 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3768, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.3768, allocations: 13.72 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3769, allocations: 314.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.3769, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.3769, allocations: 3.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.377, allocations: 75.28 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.377, allocations: 83.2 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.267e-05/0.3771, allocations: 29.7 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.3771, allocations: 83.22 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.3772, allocations: 83.28 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.993e-05/0.3772, allocations: 154.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.3773, allocations: 75.28 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.978e-05/0.3773, allocations: 162.4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.3774, allocations: 75.28 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.3775, allocations: 83.27 kB / 1.329 GB, free: 13.9 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.0001455/0.3776, allocations: 268.8 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.3777, allocations: 101 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.3777, allocations: 108.1 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-05/0.3778, allocations: 188.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-05/0.3779, allocations: 184.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-05/0.378, allocations: 184.2 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3782, allocations: 368.2 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.3783, allocations: 105 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.3783, allocations: 116.9 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.3784, allocations: 180.3 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.3785, allocations: 180.2 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.03e-05/0.3786, allocations: 180.6 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.3786, allocations: 176.3 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3788, allocations: 315.7 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.3789, allocations: 112.9 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.3789, allocations: 176.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.379, allocations: 109 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.3791, allocations: 180.2 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.3792, allocations: 105 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.3792, allocations: 79.28 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000257/0.3795, allocations: 0 / 1.332 GB, free: 10.35 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.0004535/0.3799, allocations: 0.8087 MB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.156e-05/0.3799, allocations: 4 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.38, allocations: 0 / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.38, allocations: 4 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3804, allocations: 457.6 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3815, allocations: 1.528 MB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.3816, allocations: 55.36 kB / 1.335 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.833e-06/0.3816, allocations: 3.938 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3816, allocations: 7.438 kB / 1.335 GB, free: 7.363 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3816, allocations: 0 / 1.335 GB, free: 7.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.4102, allocations: 1.443 MB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 0 / 1.337 GB, free: 6.055 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.085178095003357]