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.002021/0.002021, allocations: 104.4 kB / 16.45 MB, free: 6.5 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.00219/0.00219, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.562/1.562, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] 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 3.311/3.311, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002211/0.002211, allocations: 69.17 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 180.2 MB / 1.348 GB, free: 9.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002247/0.3413, allocations: 0.8296 MB / 1.349 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.3414, allocations: 43.78 kB / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.3415, allocations: 4 kB / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.3416, allocations: 7.875 kB / 1.349 GB, free: 9.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.3416, allocations: 7.922 kB / 1.349 GB, free: 9.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.805e-05/0.3417, allocations: 19.98 kB / 1.349 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3418, allocations: 67.78 kB / 1.349 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.342, allocations: 27.92 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.342, allocations: 27.86 kB / 1.349 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.3421, allocations: 27.86 kB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3421, allocations: 4 kB / 1.349 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.3421, allocations: 8 kB / 1.349 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3422, allocations: 15.92 kB / 1.349 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3422, allocations: 39.73 kB / 1.349 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3424, allocations: 75.8 kB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3424, allocations: 4 kB / 1.349 GB, free: 8.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3424, allocations: 4 kB / 1.349 GB, free: 8.715 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3424, allocations: 0 / 1.349 GB, free: 8.715 MB / 1.045 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.0005183/0.3429, allocations: 379.1 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.343, allocations: 15.98 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.343, allocations: 46.73 kB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3431, allocations: 8.891 kB / 1.349 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3433, allocations: 196.1 kB / 1.35 GB, free: 7.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3433, allocations: 8.375 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3433, allocations: 8.375 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3435, allocations: 110 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3435, allocations: 3.938 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3435, allocations: 0 / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3436, allocations: 4 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.3436, allocations: 35.92 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.3443, allocations: 432.7 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.3443, allocations: 41.28 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.3444, allocations: 21.83 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.3444, allocations: 0 / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3444, allocations: 38.56 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3444, allocations: 0 / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3446, allocations: 57.53 kB / 1.35 GB, free: 7.137 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3447, allocations: 77.11 kB / 1.35 GB, free: 7.043 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3448, allocations: 163.6 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3449, allocations: 25.7 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3449, allocations: 104 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.3449, allocations: 4.203 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.345, allocations: 25.7 kB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3451, allocations: 318.8 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.3451, allocations: 0 / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.3452, allocations: 29.64 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.3452, allocations: 21.72 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3452, allocations: 4 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.3453, allocations: 61.58 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3453, allocations: 11.94 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3454, allocations: 0 / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3454, allocations: 0 / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.3454, allocations: 4.094 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3454, allocations: 4 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.3455, allocations: 3.953 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3455, allocations: 7.984 kB / 1.351 GB, free: 6.219 MB / 1.045 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 0.0001114/0.3456, allocations: 117.8 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.3457, allocations: 11.89 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.3457, allocations: 15.86 kB / 1.351 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3457, allocations: 0 / 1.351 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3457, allocations: 4 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3457, allocations: 0 / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.3462, allocations: 470.7 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3462, allocations: 4.062 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.3463, allocations: 4 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3463, allocations: 3.938 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3463, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3463, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3463, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3464, allocations: 89.88 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.3465, allocations: 88.98 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3465, allocations: 8 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.3465, allocations: 0 / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.3466, allocations: 7.938 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3466, allocations: 0 / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001133/0.3467, allocations: 122.7 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3467, allocations: 0 / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001994/0.3469, allocations: 8 kB / 1.352 GB, free: 5.164 MB / 1.045 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.0004924/0.3474, allocations: 0.6172 MB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3475, allocations: 15.94 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3475, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.3475, allocations: 12.09 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.3476, allocations: 14.05 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3491, allocations: 1.331 MB / 1.354 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3494, allocations: 0.6885 MB / 1.355 GB, free: 2.332 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.3494, allocations: 12.42 kB / 1.355 GB, free: 2.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.3495, allocations: 23.44 kB / 1.355 GB, free: 2.297 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.3495, allocations: 0 / 1.355 GB, free: 2.297 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.378, allocations: 1.585 MB / 1.356 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.57, allocations: 11.38 kB / 1.356 GB, free: 0.8164 MB / 1.045 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.639342959038913]