Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008562/0.0008562, 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.001097/0.001097, allocations: 169.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.9182/0.9182, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.784e-05, allocations: 5.516 kB / 0.981 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001621/0.001638, allocations: 0.7984 MB / 0.9818 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.001744, allocations: 47.78 kB / 0.9818 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.001792, allocations: 0 / 0.9818 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.001825, allocations: 7.875 kB / 0.9818 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.0019, allocations: 11.88 kB / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.165e-05/0.001942, allocations: 15.98 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.002041, allocations: 63.83 kB / 0.9819 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.00216, allocations: 35.91 kB / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.002227, allocations: 35.91 kB / 0.982 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.00228, allocations: 19.91 kB / 0.982 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.002301, allocations: 11.94 kB / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002309, allocations: 8 kB / 0.982 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.002326, allocations: 15.92 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.002352, allocations: 15.98 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002454, allocations: 79.62 kB / 0.9821 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002455, allocations: 0 / 0.9821 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.412e-06/0.002457, allocations: 0 / 0.9821 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002461, allocations: 0 / 0.9821 GB, free: 1.465 MB / 0.9323 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.0003475/0.002809, allocations: 302 kB / 0.9824 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.002849, allocations: 8.031 kB / 0.9824 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.002882, allocations: 42.75 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.002907, allocations: 16.83 kB / 0.9825 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.003064, allocations: 133.6 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003074, allocations: 8.375 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.003085, allocations: 8.375 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.003207, allocations: 90.75 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003216, allocations: 12.12 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.003226, allocations: 4.375 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003232, allocations: 4.125 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.003294, allocations: 35.98 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.003704, allocations: 391.9 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.003755, allocations: 37.2 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.003784, allocations: 17.78 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.003792, allocations: 4 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.003811, allocations: 38.44 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.003812, allocations: 3.938 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.003954, allocations: 49.66 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.003993, allocations: 93.22 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.004114, allocations: 156.4 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004122, allocations: 25.7 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.004176, allocations: 112 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.004183, allocations: 7.891 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.004211, allocations: 21.7 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.00429, allocations: 318.8 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.004307, allocations: 7.984 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.004324, allocations: 17.72 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.00436, allocations: 21.72 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004362, allocations: 7.938 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.356e-05/0.004436, allocations: 61.64 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.004449, allocations: 4 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.004455, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004466, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.004524, allocations: 11.94 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00453, allocations: 3.938 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.004548, allocations: 4 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004552, allocations: 0 / 0.9841 GB, free: 15.2 MB / 0.948 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.813e-05/0.00461, allocations: 117.9 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.004633, allocations: 11.91 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.004652, allocations: 15.8 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004654, allocations: 0 / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.00466, allocations: 3.938 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004663, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.004918, allocations: 429.9 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.004921, allocations: 4 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.004933, allocations: 3.938 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.004935, allocations: 4 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.004941, allocations: 4.062 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.004945, allocations: 3.984 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004946, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.64e-05/0.005002, allocations: 77.89 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.005024, allocations: 19.81 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005035, allocations: 4 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.005045, allocations: 4 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.005056, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.005059, allocations: 4 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.005117, allocations: 122.1 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005117, allocations: 7.969 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001188/0.005235, allocations: 7.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 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.0002642/0.0055, allocations: 0.6172 MB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.801e-05/0.005568, allocations: 15.94 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.00557, allocations: 0 / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.005575, allocations: 4 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005693, allocations: 19.83 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.006536, allocations: 1.34 MB / 0.9869 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.006581, allocations: 79.31 kB / 0.9869 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.006608, allocations: 8.484 kB / 0.9869 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.006648, allocations: 24.5 kB / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of SimCode: time 5.52e-07/0.006649, allocations: 0 / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.02375, allocations: 2.227 MB / 0.9891 GB, free: 9.934 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.668, allocations: 2.438 kB / 0.9891 GB, free: 9.934 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.890101716853678]