Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.0007898/0.0007898, 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.001022/0.001022, allocations: 165.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.8975/0.8975, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.To_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.297e-05, allocations: 8.953 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001822/0.001845, allocations: 0.7906 MB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.00198, allocations: 43.78 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.002044, allocations: 4 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.002088, allocations: 7.875 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.002176, allocations: 11.86 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.159e-05/0.002228, allocations: 19.97 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002342, allocations: 63.84 kB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.002481, allocations: 27.88 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.002588, allocations: 43.89 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.002642, allocations: 23.91 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.002673, allocations: 4 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.002684, allocations: 8 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.002707, allocations: 15.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.002742, allocations: 19.92 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.002874, allocations: 75.69 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002876, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002877, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002881, allocations: 0 / 0.9821 GB, free: 1.414 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.0004006/0.003281, allocations: 302 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.003331, allocations: 8.031 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.003376, allocations: 46.73 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.0034, allocations: 12.84 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.003576, allocations: 133.6 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.003587, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003599, allocations: 12.38 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003725, allocations: 90.92 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003734, allocations: 4.125 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003742, allocations: 4.312 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003749, allocations: 8.125 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.003806, allocations: 39.98 kB / 0.9827 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.004194, allocations: 395.9 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.004242, allocations: 41.16 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.004269, allocations: 17.78 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.004277, allocations: 0 / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.004301, allocations: 42.48 kB / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004301, allocations: 0 / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.004453, allocations: 49.66 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.004508, allocations: 84.98 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.004615, allocations: 160.1 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.004623, allocations: 29.64 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.004676, allocations: 108 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.004682, allocations: 3.953 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.004707, allocations: 17.72 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.004786, allocations: 318.8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.004798, allocations: 4 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.004816, allocations: 21.72 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.004849, allocations: 29.95 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004851, allocations: 0 / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.458e-05/0.004905, allocations: 57.59 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.004918, allocations: 8 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.004923, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.004933, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.004985, allocations: 11.92 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.004991, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.005008, allocations: 7.875 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005013, allocations: 8.062 kB / 0.9841 GB, free: 15.14 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.732e-05/0.00507, allocations: 113.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.00511, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.00513, allocations: 7.812 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.005134, allocations: 7.984 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.005139, allocations: 4.031 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.005144, allocations: 3.984 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.00542, allocations: 429.9 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005421, allocations: 0 / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.005434, allocations: 12 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005436, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.005442, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.005444, allocations: 7.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005444, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.453e-05/0.005499, allocations: 77.88 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.005518, allocations: 15.89 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.00553, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.00554, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.005553, allocations: 3.984 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.005554, allocations: 7.969 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.005613, allocations: 121.9 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005613, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001197/0.005733, allocations: 12 kB / 0.9849 GB, free: 14.23 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.0002341/0.005967, allocations: 0.6015 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.006035, allocations: 23.92 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006037, allocations: 0 / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.714e-06/0.006044, allocations: 8.219 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.006163, allocations: 11.91 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.007073, allocations: 1.339 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.007126, allocations: 79.31 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.007153, allocations: 4.5 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.007198, allocations: 28.48 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 6.82e-07/0.007198, allocations: 4.062 kB / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.02263, allocations: 2.227 MB / 0.9891 GB, free: 9.887 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.671, allocations: 4.062 kB / 0.9891 GB, free: 9.883 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_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_To_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.855369593016803]