Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001155/0.001155, 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.001327/0.001327, 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.9073/0.9073, 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.883/1.883, 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.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.001e-05, allocations: 14.22 kB / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001362/0.001382, allocations: 0.7829 MB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.001492, allocations: 39.78 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.001537, allocations: 7.938 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.001569, allocations: 15.86 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.001639, allocations: 3.938 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.187e-05/0.001681, allocations: 19.98 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.001773, allocations: 63.78 kB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.001883, allocations: 31.95 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.001966, allocations: 35.91 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.002003, allocations: 15.91 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.002022, allocations: 8 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.002029, allocations: 4 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.002046, allocations: 19.92 kB / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.002071, allocations: 19.94 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.5e-05/0.002166, allocations: 75.69 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.002169, allocations: 4 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00217, allocations: 0 / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002173, allocations: 0 / 1.002 GB, free: 12.33 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003543/0.002528, allocations: 298 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.002567, allocations: 13.34 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.002604, allocations: 42.67 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.002629, allocations: 12.89 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.002795, allocations: 133.6 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.002805, allocations: 12.38 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.002814, allocations: 4.375 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.002955, allocations: 95.86 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.002962, allocations: 192 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.002972, allocations: 4.375 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.002979, allocations: 8.125 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.003038, allocations: 39.91 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.003413, allocations: 387.7 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.003458, allocations: 37.28 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.003489, allocations: 29.83 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-06/0.003495, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.00351, allocations: 30.56 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003511, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000124/0.003635, allocations: 57.58 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.003667, allocations: 81.05 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.003774, allocations: 161 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.003782, allocations: 25.7 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.003828, allocations: 104.3 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.003838, allocations: 23.88 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.003863, allocations: 13.72 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.003945, allocations: 318.8 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.003961, allocations: 11.94 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.003977, allocations: 17.7 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.00401, allocations: 29.72 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.004011, allocations: 0 / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.499e-05/0.004066, allocations: 53.59 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004077, allocations: 10.56 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004082, allocations: 7.984 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.004092, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.004135, allocations: 11.88 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.00414, allocations: 3.984 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.004161, allocations: 15.89 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-06/0.004163, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 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 5.15e-05/0.004215, allocations: 112.5 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.004237, allocations: 11.95 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.004255, allocations: 11.8 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004257, allocations: 4 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.004262, allocations: 3.938 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004264, allocations: 4 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.004511, allocations: 433.9 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004512, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.004524, allocations: 11.88 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004526, allocations: 0 / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.004531, allocations: 4 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004532, allocations: 0 / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.004533, allocations: 4 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.863e-05/0.004582, allocations: 78.83 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.004602, allocations: 19.84 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.004611, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.004622, allocations: 3.984 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.004634, allocations: 4 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.004635, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.004695, allocations: 123.2 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004695, allocations: 3.938 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001314/0.004827, allocations: 8 kB / 1.005 GB, free: 9.137 MB / 0.9636 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.0002131/0.00504, allocations: 0.6094 MB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.4e-05/0.005094, allocations: 19.94 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005095, allocations: 0 / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.005103, allocations: 8 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.0001016/0.005204, allocations: 7.938 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.0008851/0.006089, allocations: 1.339 MB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.006133, allocations: 83.59 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.006157, allocations: 8.484 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.006192, allocations: 28.48 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.006192, allocations: 3.938 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09667/0.1029, allocations: 2.222 MB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.827, allocations: 2.625 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.459555405192077]