Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008756/0.0008756, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000962/0.000962, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8901/0.8901, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.9505 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.621e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001244/0.00126, allocations: 0.7867 MB / 0.9513 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 9.701e-05/0.001357, allocations: 43.84 kB / 0.9513 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.001401, allocations: 0 / 0.9513 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.001434, allocations: 7.875 kB / 0.9513 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.001507, allocations: 15.81 kB / 0.9513 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.864e-05/0.001545, allocations: 19.97 kB / 0.9514 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.00164, allocations: 59.84 kB / 0.9514 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.001761, allocations: 35.97 kB / 0.9515 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.001825, allocations: 35.91 kB / 0.9515 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.001878, allocations: 19.91 kB / 0.9515 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.0019, allocations: 4 kB / 0.9515 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-06/0.001907, allocations: 19.88 kB / 0.9515 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.001925, allocations: 7.984 kB / 0.9515 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.001952, allocations: 23.92 kB / 0.9516 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.002057, allocations: 79.62 kB / 0.9516 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002059, allocations: 0 / 0.9516 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/0.00206, allocations: 0 / 0.9516 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.002064, allocations: 3.938 kB / 0.9516 GB, free: 1.203 MB / 0.8542 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.0003537/0.002418, allocations: 306 kB / 0.9519 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.002455, allocations: 8.031 kB / 0.9519 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.002486, allocations: 38.75 kB / 0.952 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.002507, allocations: 16.84 kB / 0.952 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.002651, allocations: 133.7 kB / 0.9521 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.002661, allocations: 4.375 kB / 0.9521 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.002671, allocations: 12.38 kB / 0.9521 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.002789, allocations: 91.88 kB / 0.9522 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.002796, allocations: 192 / 0.9522 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.002806, allocations: 8.375 kB / 0.9522 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.002812, allocations: 4.125 kB / 0.9522 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/0.002869, allocations: 35.98 kB / 0.9523 GB, free: 492 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.003237, allocations: 387.8 kB / 0.9526 GB, free: 56 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.003294, allocations: 45.19 kB / 0.9527 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.003323, allocations: 21.81 kB / 0.9527 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.003329, allocations: 0 / 0.9527 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.003346, allocations: 34.56 kB / 0.9527 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.003347, allocations: 0 / 0.9527 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.003484, allocations: 61.52 kB / 0.9528 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.003523, allocations: 81.05 kB / 0.9529 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.003628, allocations: 155.9 kB / 0.953 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.00364, allocations: 33.95 kB / 0.9531 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.003693, allocations: 104.1 kB / 0.9531 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.003701, allocations: 11.88 kB / 0.9532 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.003728, allocations: 21.67 kB / 0.9532 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.003807, allocations: 318.8 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.003821, allocations: 3.984 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.003838, allocations: 21.72 kB / 0.9535 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.003871, allocations: 25.66 kB / 0.9535 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003873, allocations: 0 / 0.9535 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.306e-05/0.003936, allocations: 61.64 kB / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.003948, allocations: 8 kB / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.003953, allocations: 3.938 kB / 0.9536 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.003964, allocations: 3.938 kB / 0.9536 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.004014, allocations: 11.94 kB / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.004019, allocations: 0 / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.004035, allocations: 0 / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.004039, allocations: 4 kB / 0.9536 GB, free: 14.93 MB / 0.8698 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.691e-05/0.004096, allocations: 113.8 kB / 0.9537 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.004118, allocations: 12 kB / 0.9537 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.004134, allocations: 11.81 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.004136, allocations: 4 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.004141, allocations: 3.938 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004143, allocations: 0 / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.004387, allocations: 433.9 kB / 0.9542 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004388, allocations: 0 / 0.9542 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.004397, allocations: 7.938 kB / 0.9542 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004398, allocations: 0 / 0.9542 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.004404, allocations: 7.984 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.004405, allocations: 64 / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004406, allocations: 4 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.027e-05/0.004456, allocations: 73.89 kB / 0.9543 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.004476, allocations: 19.88 kB / 0.9543 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.004487, allocations: 11.94 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.004497, allocations: 0 / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.004507, allocations: 0 / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.004508, allocations: 0 / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.004565, allocations: 121.3 kB / 0.9544 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004565, allocations: 0 / 0.9544 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001327/0.004698, allocations: 11.94 kB / 0.9544 GB, free: 14.03 MB / 0.8698 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.0002227/0.00492, allocations: 0.621 MB / 0.955 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.025e-05/0.004981, allocations: 12 kB / 0.955 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004982, allocations: 0 / 0.955 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.383e-06/0.004989, allocations: 7.938 kB / 0.955 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.005108, allocations: 11.98 kB / 0.9551 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.00616, allocations: 1.348 MB / 0.9564 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.388e-05/0.006204, allocations: 79.19 kB / 0.9565 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.006227, allocations: 8.484 kB / 0.9565 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.006267, allocations: 24.5 kB / 0.9565 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of SimCode: time 4.6e-07/0.006267, allocations: 0 / 0.9565 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.01941, allocations: 2.238 MB / 0.9587 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.809, allocations: 1.719 kB / 0.9587 GB, free: 9.664 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.725553704425693]