Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001145/0.001145, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001324/0.001324, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.925/0.925, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 2.003/2.003, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] 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.Reals.Validation.Cos,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.829e-05, allocations: 4.672 kB / 1.001 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002029/0.002057, allocations: 0.6561 MB / 1.001 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003225, allocations: 0.847 MB / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.00327, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.003304, allocations: 3.938 kB / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.003378, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.003604, allocations: 15.92 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.003682, allocations: 23.92 kB / 1.002 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003785, allocations: 15.94 kB / 1.002 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.00387, allocations: 11.98 kB / 1.002 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.00391, allocations: 7.984 kB / 1.002 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.003927, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.003978, allocations: 12 kB / 1.002 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.003995, allocations: 3.984 kB / 1.002 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.004018, allocations: 7.938 kB / 1.002 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.004136, allocations: 19.97 kB / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004138, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.00414, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004144, allocations: 4 kB / 1.002 GB, free: 10.69 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003929/0.004537, allocations: 266.3 kB / 1.003 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.00458, allocations: 9.344 kB / 1.003 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.004622, allocations: 38.73 kB / 1.003 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.004698, allocations: 4.938 kB / 1.003 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.004862, allocations: 113.8 kB / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.004874, allocations: 384 / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.004882, allocations: 384 / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.005044, allocations: 54.17 kB / 1.003 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005053, allocations: 4.188 kB / 1.003 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.005062, allocations: 384 / 1.003 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005068, allocations: 8.062 kB / 1.003 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.005196, allocations: 35.95 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.005514, allocations: 208.1 kB / 1.003 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.005629, allocations: 42.48 kB / 1.003 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.005695, allocations: 20.91 kB / 1.003 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.005712, allocations: 4 kB / 1.003 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.005733, allocations: 38.5 kB / 1.003 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.005734, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.000304/0.006039, allocations: 85.53 kB / 1.003 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.006072, allocations: 51.41 kB / 1.003 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.006145, allocations: 97.86 kB / 1.003 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006158, allocations: 33.69 kB / 1.003 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.006198, allocations: 80.27 kB / 1.003 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.006221, allocations: 19.83 kB / 1.003 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.006255, allocations: 13.72 kB / 1.003 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.006354, allocations: 310.8 kB / 1.004 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.00642, allocations: 15.98 kB / 1.004 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.006481, allocations: 23.97 kB / 1.004 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.0066, allocations: 32.83 kB / 1.004 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.006602, allocations: 8.062 kB / 1.004 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001605/0.006763, allocations: 69.59 kB / 1.004 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.006778, allocations: 8 kB / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.006782, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.006796, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.006877, allocations: 11.92 kB / 1.004 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006882, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.006918, allocations: 4 kB / 1.004 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006925, allocations: 8.031 kB / 1.004 GB, free: 8.809 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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 6.967e-05/0.006995, allocations: 109.8 kB / 1.004 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.007017, allocations: 3.938 kB / 1.004 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.007208, allocations: 72.97 kB / 1.004 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00721, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.007214, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007217, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.007362, allocations: 128.7 kB / 1.004 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007363, allocations: 4.031 kB / 1.004 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.007406, allocations: 11.98 kB / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.00741, allocations: 3.938 kB / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.007416, allocations: 0 / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007417, allocations: 0 / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007418, allocations: 0 / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.007603, allocations: 164.5 kB / 1.004 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.007612, allocations: 11.86 kB / 1.004 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.007624, allocations: 4.031 kB / 1.004 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.007689, allocations: 15.92 kB / 1.004 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.007728, allocations: 0 / 1.004 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.007732, allocations: 4 kB / 1.004 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.007764, allocations: 75.28 kB / 1.005 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.007764, allocations: 4 kB / 1.005 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002529/0.008017, allocations: 0 / 1.005 GB, free: 8.129 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0004178/0.008435, allocations: 0.7045 MB / 1.005 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.008599, allocations: 35.97 kB / 1.005 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0086, allocations: 0 / 1.005 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.008662, allocations: 15.98 kB / 1.005 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.008965, allocations: 10.95 kB / 1.005 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.009389, allocations: 138.6 kB / 1.005 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.009438, allocations: 63.34 kB / 1.005 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.009461, allocations: 3.906 kB / 1.005 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.009499, allocations: 12.5 kB / 1.006 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.0095, allocations: 0 / 1.006 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/0.08871, allocations: 1.939 MB / 1.007 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.356, allocations: 4.062 kB / 1.007 GB, free: 5.254 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_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_Reals_Validation_Cos.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.197646585293114]