Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000814/0.000814, 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.0008091/0.0008091, 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.8852/0.8852, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.727/1.727, allocations: 377.8 MB / 0.6221 GB, free: 8.613 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_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.461e-05, allocations: 5.234 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00127/0.001285, allocations: 0.81 MB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.45e-05/0.001379, allocations: 39.78 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.001419, allocations: 0 / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.001451, allocations: 7.875 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.001519, allocations: 19.86 kB / 0.9818 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.464e-05/0.001554, allocations: 19.98 kB / 0.9818 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.00164, allocations: 59.83 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.001749, allocations: 27.98 kB / 0.9819 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.001809, allocations: 39.89 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.001856, allocations: 15.92 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.001876, allocations: 4 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.001883, allocations: 11.94 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.001901, allocations: 15.97 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.001923, allocations: 15.94 kB / 0.982 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.421e-05/0.002017, allocations: 83.56 kB / 0.9821 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002019, allocations: 0 / 0.9821 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00202, allocations: 4 kB / 0.9821 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.002024, allocations: 0 / 0.9821 GB, free: 1.379 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.0003084/0.002332, allocations: 302 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.002367, allocations: 8.031 kB / 0.9824 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.002398, allocations: 38.75 kB / 0.9824 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.002419, allocations: 12.84 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.002556, allocations: 133.6 kB / 0.9826 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.002567, allocations: 12.38 kB / 0.9826 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.002576, allocations: 8.375 kB / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.002684, allocations: 90.91 kB / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.002692, allocations: 8.188 kB / 0.9827 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.0027, allocations: 4.375 kB / 0.9827 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.002705, allocations: 8.062 kB / 0.9827 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.002761, allocations: 39.92 kB / 0.9827 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.003119, allocations: 387.9 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.00316, allocations: 37.25 kB / 0.9831 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.003186, allocations: 21.77 kB / 0.9832 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.003192, allocations: 0 / 0.9832 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.003208, allocations: 38.56 kB / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003209, allocations: 0 / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.00333, allocations: 57.53 kB / 0.9833 GB, free: 36 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.003376, allocations: 85.05 kB / 0.9833 GB, free: 15.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.003474, allocations: 156.8 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.003482, allocations: 25.7 kB / 0.9835 GB, free: 15.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.003529, allocations: 108 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.003536, allocations: 7.891 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.003561, allocations: 21.7 kB / 0.9836 GB, free: 15.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.00363, allocations: 319.1 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.003642, allocations: 11.94 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.003659, allocations: 21.7 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.003688, allocations: 21.72 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00369, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.62e-05/0.003746, allocations: 65.58 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.003758, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.003762, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.003772, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.003818, allocations: 16 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.003822, allocations: 0 / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.003839, allocations: 4 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.003842, allocations: 0 / 0.9841 GB, free: 15.12 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.31e-05/0.003895, allocations: 113.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.003917, allocations: 11.91 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.003935, allocations: 15.8 kB / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.003936, allocations: 0 / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.003942, allocations: 3.938 kB / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.003944, allocations: 0 / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.004181, allocations: 433.9 kB / 0.9846 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.004182, allocations: 4 kB / 0.9846 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.004191, allocations: 7.875 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004193, allocations: 4 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.004198, allocations: 0 / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004199, allocations: 0 / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.004201, allocations: 7.922 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.016e-05/0.004251, allocations: 74.05 kB / 0.9847 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.00427, allocations: 19.86 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.004281, allocations: 12.03 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.00429, allocations: 4 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.0043, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.004302, allocations: 4 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.004357, allocations: 118.1 kB / 0.9849 GB, free: 14.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004357, allocations: 4 kB / 0.9849 GB, free: 14.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001212/0.004478, allocations: 11.88 kB / 0.9849 GB, free: 14.2 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.0002147/0.004693, allocations: 0.6171 MB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.339e-05/0.004756, allocations: 19.97 kB / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.004757, allocations: 0 / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.004763, allocations: 4 kB / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.004874, allocations: 14.48 kB / 0.9855 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.005665, allocations: 1.343 MB / 0.9869 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.005709, allocations: 75.33 kB / 0.9869 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.005732, allocations: 12.73 kB / 0.9869 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.00577, allocations: 24.5 kB / 0.987 GB, free: 11.94 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.005771, allocations: 0 / 0.987 GB, free: 11.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.0204, allocations: 2.23 MB / 0.9891 GB, free: 9.848 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.821, allocations: 4.875 kB / 0.9891 GB, free: 9.848 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.873792421072721]