Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007303/0.007303, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 197.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 79.81 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2499, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001938/0.2518, allocations: 0.82 MB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.252, allocations: 47.78 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.252, allocations: 0 / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.2521, allocations: 11.86 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.2522, allocations: 15.86 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.451e-05/0.2522, allocations: 19.98 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.2523, allocations: 59.84 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2525, allocations: 47.97 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.2525, allocations: 27.81 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.2526, allocations: 35.78 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2526, allocations: 4 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.2526, allocations: 8 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.2527, allocations: 7.938 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2527, allocations: 35.8 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2528, allocations: 83.8 kB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2528, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2529, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2529, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 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.0004004/0.2533, allocations: 387.1 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2533, allocations: 8.031 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2534, allocations: 38.75 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2534, allocations: 12.84 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.2536, allocations: 192.2 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2536, allocations: 8.375 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2536, allocations: 8.359 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.2538, allocations: 98.45 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2538, allocations: 7.875 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2538, allocations: 4 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2538, allocations: 7.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.2539, allocations: 35.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.2544, allocations: 440.7 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.2545, allocations: 41.31 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.2545, allocations: 17.72 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.2545, allocations: 0 / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2545, allocations: 30.56 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2546, allocations: 8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001612/0.2547, allocations: 57.52 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2548, allocations: 77.11 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2549, allocations: 160.5 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2549, allocations: 25.7 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.255, allocations: 100.1 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.255, allocations: 15.89 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.255, allocations: 9.969 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2552, allocations: 326.8 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.2552, allocations: 8 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.2552, allocations: 17.66 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.2553, allocations: 25.72 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2553, allocations: 0 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.736e-05/0.2554, allocations: 69.53 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2554, allocations: 7.938 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2554, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2554, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.2555, allocations: 8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2555, allocations: 7.969 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.2555, allocations: 4 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.2555, allocations: 4 kB / 1.17 GB, free: 3.512 MB / 0.92 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 6.597e-05/0.2556, allocations: 109.8 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.2556, allocations: 19.95 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.2557, allocations: 7.875 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2557, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2557, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2557, allocations: 3.938 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.2561, allocations: 478.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.2561, allocations: 12 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2561, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2561, allocations: 3.938 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.617e-05/0.2562, allocations: 77.88 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.2563, allocations: 89.06 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2563, allocations: 4.031 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/0.2563, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.2564, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2564, allocations: 7.984 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.2565, allocations: 116.9 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2565, allocations: 0 / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000196/0.2567, allocations: 7.938 kB / 1.17 GB, free: 2.473 MB / 0.92 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.000344/0.257, allocations: 0.621 MB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.2571, allocations: 27.92 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2571, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.2571, allocations: 8 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.2573, allocations: 8.281 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2584, allocations: 1.33 MB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2586, allocations: 0.6889 MB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.2587, allocations: 12.42 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.2587, allocations: 27.42 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2587, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.2742, allocations: 1.568 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.356, allocations: 14.98 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches