Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.0008535/0.0008535, allocations: 108.3 kB / 19.73 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.00149/0.00149, allocations: 214.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.005/1.005, 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 1.998/1.998, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 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.To_degC,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.91 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7135, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001683/0.7152, allocations: 0.8291 MB / 1.353 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.7153, allocations: 55.77 kB / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.7154, allocations: 0 / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.7154, allocations: 11.81 kB / 1.353 GB, free: 0.8242 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.7155, allocations: 19.88 kB / 1.353 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 5.73e-05/0.7156, allocations: 23.97 kB / 1.353 GB, free: 0.7812 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.7157, allocations: 83.75 kB / 1.353 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.7158, allocations: 41.05 kB / 1.353 GB, free: 0.6602 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.7159, allocations: 35.8 kB / 1.354 GB, free: 0.625 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.716, allocations: 31.78 kB / 1.354 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.716, allocations: 8 kB / 1.354 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.716, allocations: 8 kB / 1.354 GB, free: 0.5781 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.716, allocations: 19.88 kB / 1.354 GB, free: 0.5586 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.716, allocations: 31.8 kB / 1.354 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.7162, allocations: 109.7 kB / 1.354 GB, free: 432 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7162, allocations: 0 / 1.354 GB, free: 432 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7162, allocations: 0 / 1.354 GB, free: 432 kB / 1.026 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.7162, allocations: 0 / 1.354 GB, free: 432 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004043/0.7166, allocations: 323.8 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7166, allocations: 8.922 kB / 1.354 GB, free: 68 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.7167, allocations: 42.75 kB / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.7167, allocations: 12.84 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.7169, allocations: 146.6 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.7169, allocations: 12.5 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.7169, allocations: 16.38 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.717, allocations: 117.3 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7171, allocations: 3.984 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.7171, allocations: 0 / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.7171, allocations: 4 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.7171, allocations: 43.92 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.7176, allocations: 419.6 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.7176, allocations: 33.16 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.7176, allocations: 21.83 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.7176, allocations: 8 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.7177, allocations: 34.5 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7177, allocations: 0 / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.7178, allocations: 57.55 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.7179, allocations: 77.11 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.718, allocations: 195.2 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.718, allocations: 25.7 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.7181, allocations: 108 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.7181, allocations: 15.94 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.7181, allocations: 17.92 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.7182, allocations: 322.8 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.7182, allocations: 8 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.7182, allocations: 21.7 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.7182, allocations: 29.66 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7182, allocations: 0 / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.94e-05/0.7183, allocations: 53.64 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7183, allocations: 8 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7183, allocations: 64 / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7183, allocations: 4 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.7184, allocations: 8 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.7184, allocations: 4.156 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.7184, allocations: 11.89 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.7184, allocations: 7.938 kB / 1.356 GB, free: 14.01 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 6.24e-05/0.7185, allocations: 117.8 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.7185, allocations: 7.953 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.7185, allocations: 16.48 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7185, allocations: 0 / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.7185, allocations: 4 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7185, allocations: 7.938 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.7189, allocations: 445.9 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7189, allocations: 0 / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.7189, allocations: 4 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7189, allocations: 7.875 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7189, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7189, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7189, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.43e-05/0.719, allocations: 81.88 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.719, allocations: 20 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.719, allocations: 3.938 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.719, allocations: 8 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.719, allocations: 3.984 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.719, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.7191, allocations: 132.3 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.7191, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001176/0.7192, allocations: 8 kB / 1.357 GB, free: 13.07 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.0002512/0.7195, allocations: 0.6171 MB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.544e-05/0.7196, allocations: 19.98 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7196, allocations: 4 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.7196, allocations: 3.938 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.7197, allocations: 12 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.7206, allocations: 1.398 MB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.7206, allocations: 88.44 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.7207, allocations: 4.5 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.7207, allocations: 27.42 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of SimCode: time 5.31e-07/0.7207, allocations: 0 / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08281/0.8035, allocations: 2.26 MB / 1.361 GB, free: 8.629 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.918, allocations: 15.05 kB / 1.361 GB, free: 8.621 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_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_degC.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.824330436065793]