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.001901/0.001901, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001762/0.001762, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.997/2.997, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002135/0.3258, allocations: 0.7937 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.3259, allocations: 43.78 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.326, allocations: 7.938 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.326, allocations: 11.86 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.3261, allocations: 7.875 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.373e-05/0.3262, allocations: 19.98 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3263, allocations: 59.91 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3264, allocations: 35.47 kB / 1.284 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.3265, allocations: 27.81 kB / 1.284 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.3265, allocations: 35.72 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3265, allocations: 4 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.3266, allocations: 8 kB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3266, allocations: 11.94 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3266, allocations: 23.86 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3267, allocations: 77.33 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3267, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3267, allocations: 4 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.3267, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 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.0004316/0.3272, allocations: 310.1 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3272, allocations: 8.031 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.3273, allocations: 46.62 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.3273, allocations: 8.891 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3275, allocations: 138.4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3275, allocations: 384 / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.3275, allocations: 12.38 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3277, allocations: 91.8 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3277, allocations: 7.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3277, allocations: 8 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3277, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.3278, allocations: 39.98 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3284, allocations: 395.8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.3285, allocations: 37.22 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.3285, allocations: 17.78 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.3285, allocations: 4.031 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3285, allocations: 38.56 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.775e-06/0.3285, allocations: 3.984 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000169/0.3287, allocations: 57.52 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3288, allocations: 77.11 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3289, allocations: 161.3 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3289, allocations: 25.7 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.329, allocations: 112 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.329, allocations: 3.953 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.329, allocations: 17.72 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3292, allocations: 319.1 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.3292, allocations: 12 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3292, allocations: 17.72 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.3293, allocations: 29.66 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3293, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.04e-05/0.3294, allocations: 57.58 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3294, allocations: 11.94 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3294, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3294, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3295, allocations: 19.94 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3295, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.3295, allocations: 3.953 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3295, allocations: 4 kB / 1.286 GB, free: 9.02 MB / 0.9825 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 9.05e-05/0.3296, allocations: 117.8 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3296, allocations: 11.89 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.3297, allocations: 7.812 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3297, allocations: 4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3297, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3297, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3301, allocations: 441.8 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3301, allocations: 3.984 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.3301, allocations: 4 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3301, allocations: 4 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.3302, allocations: 81.83 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.3303, allocations: 15.89 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3303, allocations: 4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/0.3303, allocations: 8.094 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.3303, allocations: 0 / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3303, allocations: 4 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3304, allocations: 119.2 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3304, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000193/0.3306, allocations: 8 kB / 1.287 GB, free: 8.113 MB / 0.9825 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.0004138/0.331, allocations: 0.6171 MB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3311, allocations: 20.08 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.3311, allocations: 7.938 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3313, allocations: 8 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3327, allocations: 1.325 MB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.3328, allocations: 83.14 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.3328, allocations: 16.55 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.3329, allocations: 23.44 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3329, allocations: 3.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.3628, allocations: 2.098 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 14.52 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.947649049106985]