Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001412/0.001412, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001792/0.001792, allocations: 221.4 kB / 22.26 MB, free: 5.125 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.977 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.832/2.832, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.002045/0.002045, allocations: 65.84 kB / 1.117 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3118, allocations: 169.9 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002142/0.314, allocations: 0.8417 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.3141, allocations: 43.78 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3141, allocations: 0 / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.3142, allocations: 11.86 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.3143, allocations: 7.938 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.834e-05/0.3143, allocations: 19.92 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3144, allocations: 59.84 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3146, allocations: 31.97 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.3146, allocations: 27.86 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.3147, allocations: 35.78 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3147, allocations: 8 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.3147, allocations: 7.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.3148, allocations: 15.94 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3148, allocations: 35.8 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3149, allocations: 71.16 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3149, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3149, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.315, allocations: 0 / 1.285 GB, free: 10.38 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.0004877/0.3154, allocations: 314.1 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3155, allocations: 12.03 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.3155, allocations: 38.75 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.3156, allocations: 12.89 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3158, allocations: 134.3 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3158, allocations: 4.375 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3158, allocations: 8.375 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.316, allocations: 103.8 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.316, allocations: 7.938 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.316, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.316, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.3161, allocations: 35.98 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.3166, allocations: 403.8 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.3167, allocations: 45.2 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.3168, allocations: 17.78 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3168, allocations: 3.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3168, allocations: 38.59 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3168, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.317, allocations: 57.7 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.317, allocations: 81.17 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3172, allocations: 164.8 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3172, allocations: 25.7 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.3173, allocations: 100 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.3173, allocations: 11.94 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3173, allocations: 17.72 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3175, allocations: 314.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.3175, allocations: 15.98 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.3175, allocations: 17.72 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.3176, allocations: 29.66 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3176, allocations: 4 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.701e-05/0.3177, allocations: 53.64 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3177, allocations: 10.12 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3177, allocations: 4.062 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3177, allocations: 4 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.3178, allocations: 7.938 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3178, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.3178, allocations: 11.89 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.3178, allocations: 0 / 1.287 GB, free: 8.082 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.278e-05/0.3179, allocations: 117.8 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.318, allocations: 11.89 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.318, allocations: 11.81 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.318, allocations: 4 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.318, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.318, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.3184, allocations: 445.8 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3184, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.3184, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3184, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3184, allocations: 8.047 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3184, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3184, allocations: 3.938 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.53e-05/0.3185, allocations: 77.83 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.3186, allocations: 19.89 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3186, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.3186, allocations: 4 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.3186, allocations: 4.125 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.3186, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.418e-05/0.3187, allocations: 119.9 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 0 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002025/0.3189, allocations: 8 kB / 1.287 GB, free: 7.168 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.0004263/0.3193, allocations: 0.621 MB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.3194, allocations: 12 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3194, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.3194, allocations: 7.938 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3196, allocations: 11.98 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.321, allocations: 1.333 MB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3213, allocations: 0.6924 MB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.3213, allocations: 8.422 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3214, allocations: 27.44 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3214, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3475, allocations: 1.689 MB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.34, allocations: 9.547 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_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_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.103396537999288]