Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0008597/0.0008597, 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.001564/0.001564, 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 1.059/1.059, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.849/1.849, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.From_bar,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.836e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001896/0.001915, allocations: 0.798 MB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.002046, allocations: 47.72 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.002105, allocations: 4 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.002142, allocations: 7.875 kB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.002225, allocations: 7.938 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.239e-05/0.002267, allocations: 23.95 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.002362, allocations: 63.78 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.002479, allocations: 23.98 kB / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.002551, allocations: 39.89 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.002605, allocations: 19.86 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.002623, allocations: 12 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/0.002632, allocations: 4 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.00265, allocations: 19.91 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.002681, allocations: 27.92 kB / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.002781, allocations: 67.77 kB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002783, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002784, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002787, allocations: 0 / 1.002 GB, free: 12.37 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.0003405/0.003128, allocations: 306 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003167, allocations: 13.28 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.003206, allocations: 38.75 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.00323, allocations: 12.89 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.003385, allocations: 141.5 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.003394, allocations: 4.375 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.003406, allocations: 8.375 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003523, allocations: 91.86 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.00353, allocations: 4.125 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.003541, allocations: 4.375 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.003548, allocations: 8.125 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/0.00361, allocations: 39.92 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.004009, allocations: 399.7 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.004061, allocations: 41.41 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.004089, allocations: 17.72 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-06/0.004096, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004115, allocations: 38.56 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004116, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.004247, allocations: 53.58 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.004281, allocations: 84.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.004398, allocations: 164.8 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.004408, allocations: 25.7 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.004463, allocations: 100 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.004472, allocations: 11.94 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.004498, allocations: 17.72 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.004593, allocations: 318.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.004607, allocations: 4 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.004627, allocations: 21.72 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.004657, allocations: 21.72 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004659, allocations: 4 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.225e-05/0.004722, allocations: 61.58 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.004734, allocations: 8 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.004739, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.004751, allocations: 3.938 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.004801, allocations: 7.938 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.004809, allocations: 4 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.004828, allocations: 7.891 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004831, allocations: 0 / 1.004 GB, free: 10.09 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 6.171e-05/0.004893, allocations: 124.5 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.004913, allocations: 11.95 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.004931, allocations: 11.81 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004932, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.004938, allocations: 7.938 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004941, allocations: 0 / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.005193, allocations: 429.9 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005194, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.005206, allocations: 15.92 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005207, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.005212, allocations: 4 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005214, allocations: 8 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.005215, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.334e-05/0.005268, allocations: 70.78 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.005292, allocations: 23.83 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.005301, allocations: 3.938 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.005312, allocations: 4 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.005326, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.005327, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.005388, allocations: 119.2 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005388, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001268/0.005515, allocations: 12.03 kB / 1.005 GB, free: 9.176 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.0002172/0.005732, allocations: 0.6093 MB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.998e-05/0.005802, allocations: 19.94 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005804, allocations: 0 / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.005812, allocations: 7.984 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.005934, allocations: 8 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.006885, allocations: 1.344 MB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.006933, allocations: 75.33 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.00696, allocations: 12.47 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.007005, allocations: 28.44 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.007005, allocations: 0 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0753/0.08231, allocations: 2.227 MB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.168, allocations: 10.41 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_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_bar.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.958922666497529]