Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001087/0.001087, allocations: 80.55 kB / 19.96 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.001347/0.001347, 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.9589/0.9589, allocations: 177.1 MB / 203.5 MB, free: 5.543 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 1.875/1.875, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.Sin,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.893e-05, allocations: 6.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001264/0.001283, allocations: 0.6561 MB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.002113, allocations: 0.8432 MB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002146, allocations: 4 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.002171, allocations: 0 / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.002236, allocations: 3.938 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.002423, allocations: 15.92 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.002498, allocations: 23.92 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.002599, allocations: 11.92 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.00268, allocations: 15.92 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.002719, allocations: 11.98 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.002733, allocations: 0 / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.002781, allocations: 4 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.002794, allocations: 4 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.002814, allocations: 11.94 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.002932, allocations: 35.88 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002934, allocations: 0 / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002934, allocations: 0 / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.002938, allocations: 0 / 1.002 GB, free: 11.8 MB / 0.9636 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.0003621/0.0033, allocations: 266.3 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.003348, allocations: 9.344 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.003387, allocations: 34.75 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.003459, allocations: 4.938 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.003548, allocations: 101.8 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003559, allocations: 8.375 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.003568, allocations: 384 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.0037, allocations: 50.23 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.00371, allocations: 192 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.00372, allocations: 384 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003726, allocations: 4.125 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.003822, allocations: 39.89 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.00414, allocations: 212 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.004227, allocations: 42.59 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.004274, allocations: 16.91 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.004294, allocations: 8 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004313, allocations: 34.5 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.004314, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002395/0.004553, allocations: 89.61 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.004586, allocations: 51.41 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.00465, allocations: 101.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.004662, allocations: 25.7 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.004702, allocations: 88.14 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.004719, allocations: 3.953 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.004746, allocations: 13.72 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.004834, allocations: 314.8 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.004875, allocations: 15.98 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.004918, allocations: 20.02 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.004996, allocations: 40.77 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004998, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.0051, allocations: 69.59 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005112, allocations: 6.344 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.005117, allocations: 7.938 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005129, allocations: 4.094 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.005186, allocations: 7.984 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.005191, allocations: 0 / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.005214, allocations: 7.984 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005218, allocations: 192 / 1.004 GB, free: 9.945 MB / 0.9636 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 5.441e-05/0.005272, allocations: 112.5 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.005284, allocations: 3.938 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.005419, allocations: 88.84 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005421, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005425, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005427, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.005525, allocations: 128.7 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005526, allocations: 0 / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.005551, allocations: 11.98 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.005553, allocations: 3.938 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.005559, allocations: 0 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.005561, allocations: 4 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005562, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.005682, allocations: 164.4 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.005688, allocations: 11.88 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.005696, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.005733, allocations: 11.92 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.005769, allocations: 0 / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005772, allocations: 0 / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.0058, allocations: 83.27 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0058, allocations: 0 / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000149/0.005949, allocations: 12.03 kB / 1.005 GB, free: 9.246 MB / 0.9636 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.0002992/0.006248, allocations: 0.689 MB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.006363, allocations: 35.91 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.006365, allocations: 4 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.006405, allocations: 24.06 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.006598, allocations: 7.984 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.006929, allocations: 134.5 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.006975, allocations: 63.34 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.006991, allocations: 0 / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.00702, allocations: 8.5 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.00702, allocations: 0 / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/0.0887, allocations: 1.935 MB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.231, allocations: 11.31 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_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_Sin.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.125576339662075]