Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.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.001094/0.001094, 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.001131/0.001131, 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.9413/0.9413, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.856/1.856, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.934e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001504/0.001523, allocations: 0.6189 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.002508, allocations: 0.8316 MB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.002553, allocations: 0 / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.002591, allocations: 3.938 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.002661, allocations: 3.938 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.002919, allocations: 15.92 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.003005, allocations: 19.92 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.003057, allocations: 3.984 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.003217, allocations: 19.94 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.003274, allocations: 11.92 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.003289, allocations: 0 / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.003334, allocations: 4 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003347, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.003363, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003467, allocations: 23.95 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00347, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00347, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003475, allocations: 0 / 1.002 GB, free: 11.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003309/0.003806, allocations: 262.2 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.003847, allocations: 13.34 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.003878, allocations: 34.73 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.003975, allocations: 8.938 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.00406, allocations: 105.8 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.00407, allocations: 384 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.004077, allocations: 384 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.004177, allocations: 42.2 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.004187, allocations: 4.172 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004196, allocations: 4.359 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004203, allocations: 8.125 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.004243, allocations: 11.94 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.004368, allocations: 124.8 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.00442, allocations: 22.59 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.004449, allocations: 16.92 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.004467, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.004485, allocations: 34.5 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.004486, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.004643, allocations: 61.62 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.004672, allocations: 55.34 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.004735, allocations: 101.9 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.004745, allocations: 25.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.004777, allocations: 84.12 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.004798, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004821, allocations: 17.72 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.004907, allocations: 310.8 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.004928, allocations: 7.984 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.004944, allocations: 8.375 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.004988, allocations: 28.78 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.004991, allocations: 4 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.614e-05/0.005047, allocations: 45.69 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005059, allocations: 4 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005064, allocations: 0 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005076, allocations: 4 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.005128, allocations: 11.95 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.005134, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.005151, allocations: 7.953 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.005157, allocations: 0 / 1.004 GB, free: 10.29 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 (1): * Single equations (assignments): 1 * 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.772e-05/0.005215, allocations: 108.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-06/0.005218, allocations: 4 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.005238, allocations: 7.141 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.005239, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.005244, allocations: 3.938 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005247, allocations: 3.938 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.00531, allocations: 120.8 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005311, allocations: 4 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.005324, allocations: 7.984 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005325, allocations: 0 / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005331, allocations: 0 / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005332, allocations: 0 / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005334, allocations: 7.938 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.005409, allocations: 65.95 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.005415, allocations: 3.984 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.005426, allocations: 7.938 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.005436, allocations: 4.031 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.005463, allocations: 3.938 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.005464, allocations: 0 / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.005491, allocations: 87.27 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005491, allocations: 4 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001166/0.005608, allocations: 0 / 1.004 GB, free: 9.777 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 (1): * Single equations (assignments): 1 * 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.0002414/0.005849, allocations: 0.6085 MB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.005945, allocations: 20.02 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005947, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.005969, allocations: 15.92 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.0061, allocations: 3.938 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.006476, allocations: 130.5 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.006524, allocations: 59.34 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.006549, allocations: 3.938 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.00659, allocations: 20.62 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.00659, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/0.08217, allocations: 1.762 MB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.023, allocations: 4.641 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.670428515411913]