Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001254/0.001254, allocations: 80.52 kB / 19.96 MB, free: 4.586 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.001363/0.001363, allocations: 169.2 kB / 23.24 MB, free: 1.309 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.9304/0.9304, allocations: 177.2 MB / 203.6 MB, free: 5.711 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.851/1.851, 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.From_quad,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.348e-05, allocations: 5.516 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001808/0.001831, allocations: 0.7907 MB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.00196, allocations: 39.78 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.002015, allocations: 3.938 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.002052, allocations: 11.86 kB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.002137, allocations: 15.88 kB / 1.002 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.74e-05/0.002184, allocations: 15.98 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002288, allocations: 63.83 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.002416, allocations: 27.97 kB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.002492, allocations: 35.86 kB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.002548, allocations: 23.89 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.002567, allocations: 4 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.002578, allocations: 8 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002599, allocations: 19.92 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.002627, allocations: 15.92 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.002759, allocations: 79.69 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.002762, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.002764, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002768, allocations: 0 / 1.002 GB, free: 12.39 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.0004071/0.003175, allocations: 310 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.003218, allocations: 9.344 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.003262, allocations: 42.73 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.003289, allocations: 8.891 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.00347, allocations: 133.6 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.003483, allocations: 8.375 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.003494, allocations: 8.375 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.003636, allocations: 94.2 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.003646, allocations: 192 / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.003658, allocations: 4.375 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.003666, allocations: 4.125 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.003738, allocations: 47.84 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.004204, allocations: 391.7 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.004267, allocations: 41.34 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.004299, allocations: 17.78 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.004307, allocations: 7.984 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.004329, allocations: 34.56 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.00433, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.004495, allocations: 49.59 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.004535, allocations: 85.05 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.004666, allocations: 158.3 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004675, allocations: 25.7 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.004739, allocations: 104 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.004748, allocations: 11.89 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.004783, allocations: 17.97 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.004871, allocations: 322.8 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.004891, allocations: 7.938 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.004913, allocations: 21.7 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.004953, allocations: 25.72 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004955, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.756e-05/0.005052, allocations: 57.59 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.005066, allocations: 4 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.005072, allocations: 8.047 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.005087, allocations: 3.984 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.00515, allocations: 11.94 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.005155, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.005182, allocations: 11.89 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005187, allocations: 8 kB / 1.004 GB, free: 10.1 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.623e-05/0.005253, allocations: 116.5 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.005289, allocations: 7.953 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.005311, allocations: 11.89 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.005314, allocations: 3.984 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.00532, allocations: 7.938 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005323, allocations: 0 / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.005648, allocations: 433.9 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00565, allocations: 0 / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.005668, allocations: 15.81 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.00567, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.005677, allocations: 4 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.005679, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.00568, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.583e-05/0.005746, allocations: 74.77 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.005771, allocations: 19.94 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.005785, allocations: 4 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.005801, allocations: 3.984 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.005814, allocations: 0 / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.005817, allocations: 0 / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.005891, allocations: 125.9 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.005891, allocations: 3.938 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000187/0.006078, allocations: 8 kB / 1.005 GB, free: 9.195 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.0003007/0.006379, allocations: 0.6133 MB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.006462, allocations: 15.94 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.006463, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-06/0.006472, allocations: 8 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.006638, allocations: 11.94 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.008387, allocations: 1.339 MB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.008444, allocations: 83.56 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.008479, allocations: 8.484 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.008529, allocations: 28.48 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.00853, allocations: 0 / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09245/0.101, allocations: 2.23 MB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/7.954, allocations: 6.562 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_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_quad.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.597015998326242]