Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008372/0.0008372, 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.000851/0.000851, allocations: 165.9 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.8597/0.8597, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.731/1.731, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.172e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001463/0.001485, allocations: 0.7791 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.484e-05/0.00158, allocations: 39.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.001624, allocations: 7.938 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.001656, allocations: 7.875 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.001725, allocations: 23.78 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-05/0.00176, allocations: 15.98 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.00185, allocations: 59.84 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.001962, allocations: 27.98 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.002021, allocations: 39.89 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.002067, allocations: 11.92 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002087, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.002094, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.00211, allocations: 23.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.002134, allocations: 19.92 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.002226, allocations: 79.64 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002228, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002229, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.002233, allocations: 0 / 1.001 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.0003321/0.002565, allocations: 310 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.002607, allocations: 8.75 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.00264, allocations: 38.75 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.002663, allocations: 12.83 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.002823, allocations: 141.6 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002834, allocations: 8.375 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.002843, allocations: 4.375 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.002965, allocations: 95.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.002972, allocations: 192 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.002982, allocations: 8.375 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.002988, allocations: 4.125 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.003046, allocations: 31.98 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.003448, allocations: 399.8 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.003495, allocations: 33.22 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.003528, allocations: 21.78 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.003536, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.003554, allocations: 38.59 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.003555, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.003699, allocations: 53.58 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.003735, allocations: 88.98 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.003838, allocations: 156.8 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.003846, allocations: 29.7 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.003897, allocations: 112.3 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.003904, allocations: 11.83 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.003929, allocations: 13.72 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.004003, allocations: 322.8 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.004016, allocations: 4 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.004033, allocations: 25.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.004065, allocations: 29.66 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004067, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.064e-05/0.004117, allocations: 53.7 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004129, allocations: 12 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004134, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004145, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.004196, allocations: 15.88 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.004201, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.004219, allocations: 7.953 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.004224, allocations: 4 kB / 1.003 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.602e-05/0.00428, allocations: 117.8 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.0043, allocations: 7.953 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.004317, allocations: 3.812 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004318, allocations: 8 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.004323, allocations: 3.938 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004325, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.004573, allocations: 433.9 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004574, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.004584, allocations: 11.92 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.004586, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.004593, allocations: 4 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.004594, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.004596, allocations: 3.984 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.632e-05/0.004653, allocations: 78.73 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.004672, allocations: 19.83 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.004682, allocations: 4 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.004692, allocations: 3.938 kB / 1.003 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.004704, allocations: 4 kB / 1.003 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.004706, allocations: 0 / 1.003 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.004762, allocations: 121.5 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.004762, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001195/0.004882, allocations: 11.94 kB / 1.004 GB, free: 9.141 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.0002126/0.005094, allocations: 0.6132 MB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.894e-05/0.005163, allocations: 19.98 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.005165, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.005174, allocations: 11.94 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.005288, allocations: 15.73 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.006092, allocations: 1.332 MB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.006141, allocations: 79.61 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.006167, allocations: 12.47 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.006208, allocations: 24.5 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.006208, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.02039, allocations: 2.244 MB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.802, allocations: 5.281 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.910673276521266]