Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.0007974/0.0007974, 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.0008751/0.0008751, 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 1.01/1.01, 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 2.037/2.037, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 MB / 0.6511 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.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009937/0.0009937, allocations: 72.5 kB / 1.177 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3243, allocations: 180 MB / 1.352 GB, free: 9.191 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001791/0.3261, allocations: 0.8115 MB / 1.353 GB, free: 8.383 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.3262, allocations: 35.8 kB / 1.353 GB, free: 8.348 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.3263, allocations: 4 kB / 1.353 GB, free: 8.344 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.3263, allocations: 11.86 kB / 1.353 GB, free: 8.332 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.3264, allocations: 15.86 kB / 1.353 GB, free: 8.316 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 4.759e-05/0.3264, allocations: 15.98 kB / 1.353 GB, free: 8.301 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.3265, allocations: 63.84 kB / 1.353 GB, free: 8.238 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3267, allocations: 23.97 kB / 1.353 GB, free: 8.215 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.3267, allocations: 27.88 kB / 1.353 GB, free: 8.188 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.3268, allocations: 31.78 kB / 1.353 GB, free: 8.156 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3268, allocations: 4 kB / 1.353 GB, free: 8.152 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.3268, allocations: 8 kB / 1.353 GB, free: 8.145 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.3268, allocations: 11.94 kB / 1.353 GB, free: 8.133 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.3268, allocations: 31.8 kB / 1.354 GB, free: 8.102 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3269, allocations: 79.86 kB / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3269, allocations: 0 / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3269, allocations: 0 / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3269, allocations: 0 / 1.354 GB, free: 8.023 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003548/0.3273, allocations: 306 kB / 1.354 GB, free: 7.691 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3273, allocations: 8.922 kB / 1.354 GB, free: 7.684 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.3274, allocations: 42.69 kB / 1.354 GB, free: 7.633 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.3274, allocations: 12.84 kB / 1.354 GB, free: 7.621 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3276, allocations: 130.4 kB / 1.354 GB, free: 7.469 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3276, allocations: 4.375 kB / 1.354 GB, free: 7.465 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3276, allocations: 8.375 kB / 1.354 GB, free: 7.457 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3277, allocations: 95.88 kB / 1.354 GB, free: 7.352 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3278, allocations: 3.938 kB / 1.354 GB, free: 7.348 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3278, allocations: 8 kB / 1.354 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3278, allocations: 0 / 1.354 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.3278, allocations: 39.92 kB / 1.354 GB, free: 7.301 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.3283, allocations: 395.8 kB / 1.355 GB, free: 6.867 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.3284, allocations: 37.2 kB / 1.355 GB, free: 6.812 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.3285, allocations: 17.78 kB / 1.355 GB, free: 6.789 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3285, allocations: 4.031 kB / 1.355 GB, free: 6.785 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3285, allocations: 34.56 kB / 1.355 GB, free: 6.742 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.3285, allocations: 0 / 1.355 GB, free: 6.742 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/0.3287, allocations: 69.64 kB / 1.355 GB, free: 6.668 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3288, allocations: 77.11 kB / 1.355 GB, free: 6.574 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3289, allocations: 157.5 kB / 1.355 GB, free: 6.41 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3289, allocations: 29.7 kB / 1.355 GB, free: 6.375 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.329, allocations: 108 kB / 1.355 GB, free: 6.266 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-06/0.329, allocations: 7.938 kB / 1.355 GB, free: 6.258 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.329, allocations: 17.72 kB / 1.355 GB, free: 6.234 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3292, allocations: 318.8 kB / 1.355 GB, free: 5.914 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.3292, allocations: 3.984 kB / 1.355 GB, free: 5.91 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.3295, allocations: 21.72 kB / 1.355 GB, free: 5.883 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.3295, allocations: 29.72 kB / 1.355 GB, free: 5.848 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3295, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.195e-05/0.3296, allocations: 57.64 kB / 1.356 GB, free: 5.785 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3296, allocations: 14.28 kB / 1.356 GB, free: 5.773 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3296, allocations: 0 / 1.356 GB, free: 5.773 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3297, allocations: 0 / 1.356 GB, free: 5.773 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.3297, allocations: 11.94 kB / 1.356 GB, free: 5.762 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3298, allocations: 0 / 1.356 GB, free: 5.762 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.3298, allocations: 0 / 1.356 GB, free: 5.762 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3298, allocations: 8.062 kB / 1.356 GB, free: 5.754 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.228e-05/0.3299, allocations: 114.4 kB / 1.356 GB, free: 5.633 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3299, allocations: 19.83 kB / 1.356 GB, free: 5.613 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3299, allocations: 11.81 kB / 1.356 GB, free: 5.602 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3299, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3299, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3299, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3302, allocations: 437.8 kB / 1.356 GB, free: 5.113 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3302, allocations: 96 / 1.356 GB, free: 5.113 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.3303, allocations: 4.062 kB / 1.356 GB, free: 5.109 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3303, allocations: 11.97 kB / 1.356 GB, free: 5.098 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3303, allocations: 4 kB / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3303, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3303, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.977e-05/0.3303, allocations: 81.83 kB / 1.356 GB, free: 4.992 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3304, allocations: 11.94 kB / 1.356 GB, free: 4.98 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3304, allocations: 11.88 kB / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.3304, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.3304, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.3304, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.3305, allocations: 123.3 kB / 1.356 GB, free: 4.848 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3305, allocations: 0 / 1.356 GB, free: 4.848 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001375/0.3306, allocations: 12 kB / 1.356 GB, free: 4.836 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003373/0.331, allocations: 0.617 MB / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.3311, allocations: 12 kB / 1.357 GB, free: 4.176 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3311, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.3311, allocations: 15.92 kB / 1.357 GB, free: 4.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.3312, allocations: 12.28 kB / 1.357 GB, free: 4.148 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3323, allocations: 1.318 MB / 1.358 GB, free: 2.73 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.3324, allocations: 75.33 kB / 1.358 GB, free: 2.637 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.3324, allocations: 12.41 kB / 1.358 GB, free: 2.625 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3324, allocations: 23.44 kB / 1.358 GB, free: 2.602 MB / 1.042 GB Notification: Performance of SimCode: time 1.062e-06/0.3324, allocations: 4 kB / 1.358 GB, free: 2.598 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09787/0.4303, allocations: 2.1 MB / 1.36 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/7.147, allocations: 8.312 kB / 1.36 GB, free: 0.6367 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.572632681578398]