Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.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.0008725/0.0008725, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0009746/0.0009746, allocations: 219.8 kB / 23.03 MB, free: 2.953 MB / 13.93 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 0.9754/0.9754, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.953/1.953, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009242/0.0009242, allocations: 73.86 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3206, allocations: 180 MB / 1.352 GB, free: 9.203 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001539/0.3222, allocations: 0.5582 MB / 1.353 GB, free: 8.645 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 4.012e-05/0.3222, allocations: 8 kB / 1.353 GB, free: 8.637 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.3222, allocations: 0 / 1.353 GB, free: 8.637 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3223, allocations: 0 / 1.353 GB, free: 8.637 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.3223, allocations: 3.938 kB / 1.353 GB, free: 8.633 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 2.915e-05/0.3223, allocations: 3.984 kB / 1.353 GB, free: 8.629 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.3224, allocations: 0 / 1.353 GB, free: 8.629 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.3224, allocations: 4 kB / 1.353 GB, free: 8.625 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.3224, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.81e-05/0.3225, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3225, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-06/0.3225, allocations: 4 kB / 1.353 GB, free: 8.621 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3225, allocations: 0 / 1.353 GB, free: 8.621 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.3225, allocations: 0 / 1.353 GB, free: 8.621 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 6.744e-05/0.3226, allocations: 15.92 kB / 1.353 GB, free: 8.605 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3226, allocations: 0 / 1.353 GB, free: 8.605 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3226, allocations: 0 / 1.353 GB, free: 8.605 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3226, allocations: 3.938 kB / 1.353 GB, free: 8.602 MB / 1.042 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.0002437/0.3228, allocations: 238.7 kB / 1.353 GB, free: 8.336 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3229, allocations: 8.922 kB / 1.353 GB, free: 8.328 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.3229, allocations: 30.75 kB / 1.353 GB, free: 8.289 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.3229, allocations: 4.938 kB / 1.353 GB, free: 8.285 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3231, allocations: 106.5 kB / 1.353 GB, free: 8.156 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3231, allocations: 384 / 1.353 GB, free: 8.156 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.3231, allocations: 4.375 kB / 1.353 GB, free: 8.152 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.491e-05/0.3232, allocations: 34.25 kB / 1.353 GB, free: 8.113 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3232, allocations: 3.938 kB / 1.353 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.3232, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3232, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.339e-05/0.3232, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.3235, allocations: 353.2 kB / 1.354 GB, free: 7.723 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.3235, allocations: 173.5 kB / 1.354 GB, free: 7.543 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.3236, allocations: 84.14 kB / 1.354 GB, free: 7.457 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3236, allocations: 79.27 kB / 1.354 GB, free: 7.379 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3236, allocations: 109.8 kB / 1.354 GB, free: 7.262 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.3236, allocations: 0 / 1.354 GB, free: 7.262 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 6.112e-05/0.3237, allocations: 37.64 kB / 1.354 GB, free: 7.219 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3237, allocations: 126.7 kB / 1.354 GB, free: 7.082 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.3238, allocations: 97.8 kB / 1.354 GB, free: 6.977 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3238, allocations: 25.7 kB / 1.354 GB, free: 6.945 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.3238, allocations: 80.14 kB / 1.355 GB, free: 6.863 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3238, allocations: 0 / 1.355 GB, free: 6.863 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.3238, allocations: 17.84 kB / 1.355 GB, free: 6.84 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.3239, allocations: 318.8 kB / 1.355 GB, free: 6.52 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.3239, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.3239, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.775e-05/0.324, allocations: 75.28 kB / 1.355 GB, free: 6.445 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.324, allocations: 83.22 kB / 1.355 GB, free: 6.363 MB / 1.042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.296e-05/0.324, allocations: 29.64 kB / 1.355 GB, free: 6.328 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.324, allocations: 87.22 kB / 1.355 GB, free: 6.242 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3241, allocations: 75.28 kB / 1.355 GB, free: 6.168 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/0.3241, allocations: 154.5 kB / 1.355 GB, free: 6.016 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.51e-05/0.3241, allocations: 75.28 kB / 1.355 GB, free: 5.941 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.3242, allocations: 162.5 kB / 1.356 GB, free: 5.781 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.3242, allocations: 83.22 kB / 1.356 GB, free: 5.699 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3242, allocations: 75.28 kB / 1.356 GB, free: 5.625 MB / 1.042 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 7.193e-05/0.3243, allocations: 264.9 kB / 1.356 GB, free: 5.355 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3243, allocations: 104.9 kB / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.3244, allocations: 111.9 kB / 1.356 GB, free: 5.133 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.3244, allocations: 184.2 kB / 1.356 GB, free: 4.945 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.251e-05/0.3244, allocations: 184.2 kB / 1.357 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-05/0.3245, allocations: 180.3 kB / 1.357 GB, free: 4.574 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3246, allocations: 376.2 kB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.3247, allocations: 113 kB / 1.357 GB, free: 4.039 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.3247, allocations: 105 kB / 1.357 GB, free: 3.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.384e-05/0.3247, allocations: 180.2 kB / 1.357 GB, free: 3.746 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.3248, allocations: 180.3 kB / 1.358 GB, free: 3.562 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-05/0.3248, allocations: 180.5 kB / 1.358 GB, free: 3.379 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.421e-05/0.3249, allocations: 180.2 kB / 1.358 GB, free: 3.195 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.871e-05/0.325, allocations: 323.7 kB / 1.358 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.325, allocations: 101 kB / 1.358 GB, free: 2.75 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.3251, allocations: 184.2 kB / 1.359 GB, free: 2.562 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.3251, allocations: 105 kB / 1.359 GB, free: 2.453 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3252, allocations: 184.2 kB / 1.359 GB, free: 2.266 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3252, allocations: 105 kB / 1.359 GB, free: 2.156 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.3252, allocations: 79.28 kB / 1.359 GB, free: 2.078 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.3252, allocations: 0 / 1.359 GB, free: 2.078 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002429/0.3255, allocations: 0 / 1.359 GB, free: 2.078 MB / 1.042 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.0003046/0.3258, allocations: 0.8125 MB / 1.36 GB, free: 1.234 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 3.84e-05/0.3258, allocations: 0 / 1.36 GB, free: 1.234 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3258, allocations: 4 kB / 1.36 GB, free: 1.23 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3258, allocations: 0 / 1.36 GB, free: 1.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3261, allocations: 459.8 kB / 1.36 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3272, allocations: 1.532 MB / 1.362 GB, free: 15.17 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.3273, allocations: 55.34 kB / 1.362 GB, free: 15.09 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 7.223e-06/0.3273, allocations: 3.938 kB / 1.362 GB, free: 15.09 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.3273, allocations: 7.438 kB / 1.362 GB, free: 15.08 MB / 1.057 GB Notification: Performance of SimCode: time 5.41e-07/0.3273, allocations: 4 kB / 1.362 GB, free: 15.08 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.075/0.4023, allocations: 1.398 MB / 1.363 GB, free: 13.81 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.536, allocations: 9.172 kB / 1.363 GB, free: 13.8 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.78541489969939]